avcodec/tiff: Limit filtering to decoded data
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 23 Nov 2018 01:33:04 +0000 (02:33 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 21 Jan 2019 06:53:25 +0000 (07:53 +0100)
commitee349bd0fd5acae9eb3bc142c93aedbf0dffee3c
tree8ec107f9edced1d1fb894673746ed93d74db8037
parentab744447e141ecb997c0f01d7242a8aeb824f333
avcodec/tiff: Limit filtering to decoded data

Fixes: Timeout
Fixes: 11068/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-5698456681709568

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 90ac0e5f29ba4730cd92d3268938b3730823e52b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/tiff.c