avcodec/mpeg4videodec: Check for bitstream end in read_quant_matrix_ext()
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 3 Jul 2018 20:48:32 +0000 (22:48 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 4 Jul 2018 21:14:24 +0000 (23:14 +0200)
commit5aba5b89d0b1d73164d3b81764828bb8b20ff32a
tree49962e13445339bd09977b5bd3d23028ddc57702
parente37741d26a1ef2d07e2ccf4e1bc9699a12576111
avcodec/mpeg4videodec: Check for bitstream end in read_quant_matrix_ext()

Fixes: out of array read
Fixes: asff-crash-0e53d0dc491dfdd507530b66562812fbd4c36678

Found-by: Paul Ch <paulcher@icloud.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mpeg4videodec.c