avcodec/m101: Fix off be 2 error
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 17 Jun 2019 19:13:17 +0000 (21:13 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 29 Jun 2019 18:43:54 +0000 (20:43 +0200)
commitf3bfb0717982992959ac4ecd40f4d2ddcab25eb1
tree3c546848c2622926801743534af4cd22bea61c9a
parent423d0bbc556721849847d6dc9143d41d97b9a03c
avcodec/m101: Fix off be 2 error

Fixes: out of array read
Fixes: 15263/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_M101_fuzzer-5728999453491200

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 89b96900fa7c17d0770c9af26af7c3ae36ae0253)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/m101.c