[FFmpeg-devel] [PATCH] Real Audio 14.4 decoder: fix access to LPC coefficients
Sat Feb 13 17:46:19 CET 2010
Some functions in libavcodec/ra144.c access the lpc_tables arrays of
RA144Context as if they had 30 elements, but they have 10 elements
Although incorrect, the current code doesn't crash because RA144Context
has enough bytes after lpc_tables that access to lpc_tables beyond its
limits still falls in the RA144Context structure. Decoding is not
affected either, because the bogus LPC coefficients are not actually
used for decoding.
But that still should be fixed, and here is a patch for it.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1069 bytes
Desc: not available
More information about the ffmpeg-devel