diff options
author | Reinhard Tartler <siretart@tauware.de> | 2013-05-07 07:26:19 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2013-05-09 11:28:28 +0200 |
commit | a694b2b15865f6fd42217c82146e1be43f3b3f9b (patch) | |
tree | 6a749d2119ffe12b8522ee254b805d6526d7d9f2 /libavcodec/mjpegbdec.c | |
parent | d785f6940144eb6ce4c24309ed034056b81395bc (diff) | |
download | ffmpeg-a694b2b15865f6fd42217c82146e1be43f3b3f9b.tar.gz |
shorten: set invalid channels count to 0
Prevent the loop shorten_decode_close from writing and freeing out of
the array boundary.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
CC: libav-stable@libav.org
(cherry picked from commit c10da30d8426a1f681d99a780b6e311f7fb4e5c5)
(cherry picked from commit 21d568be179c54a1596d1377b4da7fbe755bfe7f)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Conflicts:
libavcodec/shorten.c
Diffstat (limited to 'libavcodec/mjpegbdec.c')
0 files changed, 0 insertions, 0 deletions