[FFmpeg-devel] [PATCH] rsd: limit number of channels

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Thu Oct 20 20:56:24 EEST 2016


On 20.10.2016 02:04, Michael Niedermayer wrote:
> On Wed, Oct 19, 2016 at 11:46:43PM +0200, Andreas Cadhalpun wrote:
>> Negative values don't make sense and too large values can cause
>> overflows. For AV_CODEC_ID_ADPCM_THP this leads to a too small extradata
>> buffer being allocated, causing out-of-bounds writes.
>>
>> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
>> ---
>>  libavformat/rsd.c | 4 +++-
>>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> LGTM

Pushed.

Best regards,
Andreas



More information about the ffmpeg-devel mailing list