mp3dec: Fix possibly exploitable crash
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 27 Sep 2012 23:38:44 +0000 (01:38 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 6 Dec 2012 15:28:27 +0000 (16:28 +0100)
commit54ac3d10d158923ead4750d36e1c9773349a5e74
tree75d13ad886d18e12988d31a96584255b644006c5
parentd3835cb87714bece30e6ce748c9f11ca640859da
mp3dec: Fix possibly exploitable crash

I was sadly unable to find a non fuzzed mp3 that uses the
feature that contained the bug (and i searched hard ...), thus
while this fixes the security issue. It may or may not fix
mixed blocks in 8khz mp3s, i cant say due to lack of samples to test.

Security issue exists since: b37d945dd4213cb8e92146571b0374cd45d52286

Reported-by: Dale Curtis <dalecurtis@google.com>
(Probably) Found-by: inferno@chromium.org
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 94041febc53a6da10e34c2bfff9ff1d580fdce60)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpegaudiodec.c