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 17:22:19 +0000 (19:22 +0200)
commit89b96900fa7c17d0770c9af26af7c3ae36ae0253
tree3c8777645b6d0e419e0165d3e44b6c10153fca77
parent8d8b8c4ac6fb5b5d40bd131f2d2ea9d85b8759a6
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>
libavcodec/m101.c