diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-02-17 15:20:27 -0800 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2012-02-26 10:03:15 +0100 |
commit | 95a9d44dc3121a93c68087dddd7b9b49d34bf930 (patch) | |
tree | 94fa66ca1358bdb7ca37f45fdf79b48bc24d7bba /libavcodec/dctref.h | |
parent | 27558bd87e7e67b83ddefb9176f1729c2291c7a0 (diff) | |
download | ffmpeg-95a9d44dc3121a93c68087dddd7b9b49d34bf930.tar.gz |
mp3on4: require a minimum framesize.
If bufsize < headersize, init_get_bits() will be called with a negative
number, causing it to fail and any subsequent call to get_bits() will
crash because it reads from a NULL pointer.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit 3e13005cac6e076053276b515f5fcf59a3f4b65d)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/dctref.h')
0 files changed, 0 insertions, 0 deletions