smackerdec: Check that the last indexes are within the table.
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 25 Jan 2012 21:28:57 +0000 (22:28 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 25 Jan 2012 21:32:11 +0000 (22:32 +0100)
commit1285baaab550e3e761590ef6dfb1d9bd9d1332e4
treed01bae89482934662d1e6d6f2f32ae44bea6ae44
parent247d30a7dba6684ccce4508424f35fd58465e535
smackerdec: Check that the last indexes are within the table.

Fixes CVE-2011-3944

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/smacker.c