avcodec/tiff: Check for 12bit gray fax
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 12 Jan 2019 18:37:18 +0000 (19:37 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 20 Jan 2019 20:42:20 +0000 (21:42 +0100)
commitec28a85107cccece4dce17c0ccb633defe2d6e98
tree0e2d41d75e1fdbb596c102ce349cdb5ec129222a
parentf64c0dffa13e6263de3fdff0058ab2fdb03ac1d6
avcodec/tiff: Check for 12bit gray fax

Fixes: Assertion failure
Fixes: 11898/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-5759794191794176

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