Re: [FFmpeg-devel] [PATCH] swscale/slice: Check slice for allocation failure

2021-07-09 Thread Michael Niedermayer
On Thu, Jul 08, 2021 at 12:40:26PM +0200, Michael Niedermayer wrote: > Fixes: null pointer dereference > Fixes: alloc_slice.mp4 > > Found-by: Rafael Dutra > Signed-off-by: Michael Niedermayer > --- > libswscale/slice.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) will apply [...

[FFmpeg-devel] [PATCH] swscale/slice: Check slice for allocation failure

2021-07-08 Thread Michael Niedermayer
Fixes: null pointer dereference Fixes: alloc_slice.mp4 Found-by: Rafael Dutra Signed-off-by: Michael Niedermayer --- libswscale/slice.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libswscale/slice.c b/libswscale/slice.c index d96db13364..68517da00b 100644 --- a/libswsc