]> git.sesse.net Git - ffmpeg/commit
alac: Do bounds checking of lpc_order read from the bitstream
authorMartin Storsjö <martin@martin.st>
Fri, 27 Sep 2013 21:22:52 +0000 (00:22 +0300)
committerMartin Storsjö <martin@martin.st>
Sun, 29 Sep 2013 16:57:10 +0000 (19:57 +0300)
commit59480abce7e4238e22b3a4a904a9fe6abf4e4188
treeb057edacec3513d1749330a8c2c6679a080df265
parentadc09136a4a63b152630abeacb22c56541eacf60
alac: Do bounds checking of lpc_order read from the bitstream

In lpc_prediction(), we write up to array element 'lpc_order' in
an array allocated to hold 'max_samples_per_frame' elements.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/alac.c