vp3dec: Check coefficient index in vp3_dequant()
authorReinhard Tartler <siretart@tauware.de>
Sun, 4 Dec 2011 09:10:33 +0000 (10:10 +0100)
committerReinhard Tartler <siretart@tauware.de>
Sat, 24 Dec 2011 14:47:57 +0000 (15:47 +0100)
commitbd071de29ae33a0ea99fd52793394a377ca61589
tree0b906c0953cdcea9c9c3e70fc15c6448e5706d2e
parent8ddc0b491d3c9c11c1e3d638fda51b4b604d32f4
vp3dec: Check coefficient index in vp3_dequant()

Based on a patch by Michael Niedermayer <michaelni@gmx.at>

Fixes NGS00145, CVE-2011-4352

Found-by: Phillip Langlois
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 8b94df0f2047e9728cb872adc9e64557b7a5152f)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit bba709214a51ffd665a67404d3beb3727bb3f319)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/vp3.c