avcodec/tiff: Fix integer overflows in left shift in init_image()
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 26 Nov 2018 01:57:32 +0000 (02:57 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 27 Nov 2018 01:56:36 +0000 (02:56 +0100)
commita036c25969498693539f5e494e1f25ad2227e24c
treef36399d6f86e57189b1d656ae55cef0392121114
parent5a7617136ab68e3fc35a6ea1094f6629109336d3
avcodec/tiff: Fix integer overflows in left shift in init_image()

Fixes: left shift of 255 by 24 places cannot be represented in type 'int'
Fixes: 11377/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-5694319101476864

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