avcodec/mpeg4videodec: Check for bitstream overread in decode_vol_header()
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 20 Feb 2014 04:48:54 +0000 (05:48 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 20 Feb 2014 04:49:52 +0000 (05:49 +0100)
commit3edc3b159503d512c919b3d5902f7026e961823a
treebe81cfa0fe7dccc36effe0b00c01e3c308254f40
parent916a79227e0dbeb8c1a2b7285b959729fa53e470
avcodec/mpeg4videodec: Check for bitstream overread in decode_vol_header()

Fixes out of array read
Fixes: 08e48e9daae7d8f8ab6dbe3919e797e5-asan_heap-oob_157461c_5295_cov_1266798650_firefing.mpg
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpeg4videodec.c