diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-03-24 01:39:13 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-10-06 09:40:46 +0200 |
commit | b6ba39f931a82561389553ab2ac0ddb61b73a1e3 (patch) | |
tree | 3670b3b7328d2c41c225cd6baac2b1abca214cb9 /libavcodec/xiph.c | |
parent | 77d43bf42d76a1a3ccd8ea25937664c7f9d4bcac (diff) | |
download | ffmpeg-b6ba39f931a82561389553ab2ac0ddb61b73a1e3.tar.gz |
alsdec: check opt_order.
Fixes out of array write in quant_cof.
Also make sure no invalid opt_order stays in the context.
Fixes CVE-2012-2775
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
(cherry picked from commit 9853e41aa0a6cfff629ff7009685eb8bf8d64e7f)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
(cherry picked from commit a1b127515bb79c715933d0d4201e4ef3152b3dcb)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/xiph.c')
0 files changed, 0 insertions, 0 deletions