avcodec/tiff: Check stripsize strippos for overflow
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 16 Mar 2017 01:00:17 +0000 (02:00 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 20 Mar 2017 00:33:08 +0000 (01:33 +0100)
commit5d996b56499f00f80b02a41bab3d6b7349e36e9d
tree67169ebbe3ff786e9dc273af981d0a91455de8dc
parent61b8a9ea2930130a1fecf6c06a391a18d8b95d83
avcodec/tiff: Check stripsize strippos for overflow

Fixes: 861/clusterfuzz-testcase-5688284384591872

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