avcodec/flicvideo: Fix off by 1 error in flic_decode_frame_24BPP()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 21 Jun 2019 21:45:36 +0000 (23:45 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 8 Jul 2019 09:42:38 +0000 (11:42 +0200)
commit10880dd695daa1fb85ef96a15be5b46ce339d2fb
tree8a0f5a0c5eda8068fd2413c9610a354296f2abdc
parent4d7ee3b0ff12c79a84ec29f9b876760795ef3d5d
avcodec/flicvideo: Fix off by 1 error in flic_decode_frame_24BPP()

Fixes: out of array access
Fixes: 15360/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FLIC_fuzzer-5653837190266880
Fixes: 15412/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FLIC_fuzzer-5740537648250880

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 37708cbae8d6887b80f58a70a1dfa01af6ea2c85)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/flicvideo.c