Re: [FFmpeg-devel] [PATCH] avcodec/sunrast: Fix maplength check

2022-12-24 Thread Michael Niedermayer
On Thu, Dec 22, 2022 at 12:05:20AM +0100, Michael Niedermayer wrote: > Fixes: out of bounds read > > Found-by: Ibrahim Mohamed > Reviewed-by; Ibrahim Mohamed > Signed-off-by: Michael Niedermayer > --- > libavcodec/sunrast.c | 19 +-- > 1 file changed, 17 insertions(+), 2 deleti

[FFmpeg-devel] [PATCH] avcodec/sunrast: Fix maplength check

2022-12-21 Thread Michael Niedermayer
Fixes: out of bounds read Found-by: Ibrahim Mohamed Reviewed-by; Ibrahim Mohamed Signed-off-by: Michael Niedermayer --- libavcodec/sunrast.c | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/libavcodec/sunrast.c b/libavcodec/sunrast.c index 45b29e4d72..36