avcodec/indeo2: Check input size against resolution in ir2_decode_plane()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 17 Mar 2019 20:39:57 +0000 (21:39 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 25 Mar 2019 12:20:30 +0000 (13:20 +0100)
commit4ef27d40729c34f62b688c027b5c177c39e56656
tree330f8ce5c25e72de1469828ca121781927775373
parentff13a92a6f8413402f5b3cacedda7c10d350b487
avcodec/indeo2: Check input size against resolution in ir2_decode_plane()

Fixes: Timeout (56 sec -> 14 sec)
Fixes: 13708/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INDEO2_fuzzer-5656342004498432

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/indeo2.c