4xm: Check available space in read_huffman_tables()
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 26 Jan 2013 01:03:05 +0000 (02:03 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 26 Jan 2013 01:27:19 +0000 (02:27 +0100)
commit53a3fdbfc56da54b2c0a44eb1f956ec9d67d1425
tree4eccb5f823c63f70a943965ed139d60b65e84e7a
parentdcbb920f1587d1fce777aae947a49304665436b5
4xm: Check available space in read_huffman_tables()

Fixes integer overflow and out of array accesses

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