[FFmpeg-devel] [PATCH] svq1enc: fix out of bounds reads

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Wed Jan 27 00:09:52 CET 2016


On 26.01.2016 02:46, Michael Niedermayer wrote:
> On Tue, Jan 26, 2016 at 01:04:05AM +0100, Andreas Cadhalpun wrote:
>>  svq1enc.c |    7 +++++--
>>  1 file changed, 5 insertions(+), 2 deletions(-)
>> 303a9f08a561047395172ac4f7abbc63a78c9021  0001-svq1enc-fix-out-of-bounds-reads.patch
>> From 5168bee94d1e7e09ebfcfe2bdab94430d4366cb2 Mon Sep 17 00:00:00 2001
>> From: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
>> Date: Thu, 21 Jan 2016 22:36:36 +0100
>> Subject: [PATCH] svq1enc: fix out of bounds reads
>>
>> level can be 5, but there are only four codebooks.
>>
>> Fixes ubsan runtime error: index 5 out of bounds for type 'int8_t
>> [4][96]'
>>
>> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> 
> should be ok

Pushed.

Best regards,
Andreas


More information about the ffmpeg-devel mailing list