[FFmpeg-devel] [PATCH] pngdec: check if previous frame exists instead of trusting sequence_number

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Mon Nov 28 00:47:56 EET 2016


On 27.11.2016 04:07, Michael Niedermayer wrote:
> On Sat, Nov 26, 2016 at 11:36:48PM +0100, Andreas Cadhalpun wrote:
>>  pngdec.c |    3 ++-
>>  1 file changed, 2 insertions(+), 1 deletion(-)
>> 141d5230c97dbc47e0b291f660544cfe57abbf7c  0001-pngdec-check-if-previous-frame-exists-instead-of-tru.patch
>> From 84125e5f32fd4b9146d9926d2f8a4467da7c8557 Mon Sep 17 00:00:00 2001
>> From: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
>> Date: Fri, 25 Nov 2016 22:09:51 +0100
>> Subject: [PATCH] pngdec: check if previous frame exists instead of trusting
>>  sequence_number
>>
>> This fixes a segmentation fault caused by calling memcpy with NULL as
>> second argument in handle_p_frame_apng.
>>
>> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
>> ---
>>  libavcodec/pngdec.c | 3 ++-
>>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> LGTM

Pushed.

Best regards,
Andreas



More information about the ffmpeg-devel mailing list