avcodec/fic: Fail on invalid slice size/off
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 16 Dec 2018 20:43:07 +0000 (21:43 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 21 Jan 2019 06:53:26 +0000 (07:53 +0100)
commit5ed024e40bdbc0047d7cad38f6b7d52903dbc108
tree83eda27aa30751e2dc1a3ba45aef0f21d6377ceb
parent5550946ff4bdb4f6092e6aabd8d11888695ffbd0
avcodec/fic: Fail on invalid slice size/off

Fixes: Timeout
Fixes: 11486/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FIC_fuzzer-5677133863583744

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 30a7a81cdc2ee2eac6d3271439c43f11b7327b3e)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/fic.c