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>
Sun, 23 Dec 2018 19:24:47 +0000 (20:24 +0100)
commit30a7a81cdc2ee2eac6d3271439c43f11b7327b3e
tree8e714880cc6725024afcc60c71e1682109def0b0
parent80cce5998c10ff5d93c7b52f303d83ad20fb3a11
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>
libavcodec/fic.c