[FFmpeg-devel] [PATCH] Real Audio 14.4 decoder: fix access to LPC coefficients

Vitor Sessak vitor1001
Sat Feb 13 18:43:15 CET 2010

Francesco Lavra wrote:
> Hi,
> Some functions in libavcodec/ra144.c access the lpc_tables arrays of
> RA144Context as if they had 30 elements, but they have 10 elements
> instead.
> 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.

Thanks, committed.


More information about the ffmpeg-devel mailing list