[FFmpeg-devel] [BUG] qdm2.c over read in array

Benjamin Larsson banan
Tue Jan 8 08:10:30 CET 2008


Roberto Togni wrote:
> On Mon, 07 Jan 2008 18:18:45 +0100
> Benjamin Larsson <banan at ludd.ltu.se> wrote:
> 
>> fill_coding_method_array line:
>>
>>  tmp = tone_level_idx[ch][sb][j + 1] * 2 - add4 - add3 - add2 - add1;
>>
>> over reads the array. for(j=0 ; j<64 ; j++)
>>
> 
> Do you have a sample that triggers it? Most of that function
> (including this line) is untested because no known sample uses that
> code; probably some error slipped in during the rewriting.
> 
> Ciao,
>  Roberto
> 

No, but we should fix it anyway.

MvH
Benjamin Larsson




More information about the ffmpeg-devel mailing list