Re: [PATCH 1/1] common: event: check event_type_name() argument

2024-02-07 Thread Tom Rini
On Sun, Jan 28, 2024 at 08:58:55AM +0100, Heinrich Schuchardt wrote: > 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 Applied to u-boot/master, thanks!

[PATCH 1/1] common: event: check event_type_name() argument

2024-01-27 Thread Heinrich Schuchardt
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 --- common/event.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/event.c