[FFmpeg-devel] [PATCH] ffmdec: sanitize codec parameters

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Sun Nov 20 21:33:23 EET 2016


On 20.11.2016 03:41, Michael Niedermayer wrote:
> On Sun, Nov 20, 2016 at 12:37:05AM +0100, Andreas Cadhalpun wrote:
> 
>>  ffmdec.c |   52 ++++++++++++++++++++++++++++++++++++++++++----------
>>  1 file changed, 42 insertions(+), 10 deletions(-)
>> a565a670592ad6455e9f26e95edf9886b426dfb3  0001-ffmdec-validate-codec-parameters.patch
>> From d3f33b108fe7035e1aa1bc7021dbb99aecd14821 Mon Sep 17 00:00:00 2001
>> From: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
>> Date: Thu, 17 Nov 2016 00:04:57 +0100
>> Subject: [PATCH] ffmdec: validate codec parameters
>>
>> A negative extradata size for example gets passed to memcpy in
>> avcodec_parameters_from_context causing a segmentation fault.
> 
> LGTM

Pushed.

Best regards,
Andreas



More information about the ffmpeg-devel mailing list