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

Roberto Togni rxt
Mon Jan 7 22:19:40 CET 2008


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

-- 
Better is the enemy of good enough.




More information about the ffmpeg-devel mailing list