]> git.dujemihanovic.xyz Git - u-boot.git/commit
common: event: check event_type_name() argument
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 28 Jan 2024 07:58:55 +0000 (08:58 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 6 Feb 2024 21:31:06 +0000 (16:31 -0500)
commit0c5110ccf83c2e9c3190e501855c49ee168a7239
tree28d41cb94dce0a869a5f6519db902f6b80a8dd88
parentdd0807804ecdc10fdc22fdb9f0ff9889f5fc4b08
common: event: check event_type_name() argument

In event_type_name() we should avoid possible buffer overruns by checking
the type argument.

Addresses-Coverity-ID: 478862 Out-of-bounds access
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
common/event.c