aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rangecoder.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-03-01 13:51:21 -0800
committerReinhard Tartler <siretart@tauware.de>2012-03-04 21:26:28 +0100
commitde2656ec2518cae65a2b2823470a3ebe15934ba9 (patch)
tree6f879d79d556e9b0172b316f901814b8a97365c1 /libavcodec/rangecoder.c
parent9686a2c2cfdb103784bd9153042da4f9656b56c6 (diff)
downloadffmpeg-de2656ec2518cae65a2b2823470a3ebe15934ba9.tar.gz
amrwb: error out early if mode is invalid.
Prevents using the invalid mode as an index in a static array, which would generate invalid reads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org (cherry picked from commit 154b8bb80029e71d562e8936164266300dd35a0e) Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'libavcodec/rangecoder.c')
0 files changed, 0 insertions, 0 deletions