]> git.sesse.net Git - ffmpeg/commit
avcodec/tiff: Check for Tiled and Stripped TIFFs
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 19 Feb 2020 14:15:42 +0000 (15:15 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 21 May 2020 11:08:23 +0000 (13:08 +0200)
commit70faa9f618183956d42d520f516b6d0c8e3d81ce
tree14f34190367f3de71356b0688de6081b3c35da36
parent49459aca47d4803b2188fbf12b758bd2b01e91d7
avcodec/tiff: Check for Tiled and Stripped TIFFs

TIFF 6 spec: "Do not use both strip-oriented and tile-oriented fields in the same TIFF file."

Fixes: null pointer use, crash
Fixes: crash-762680f9d1b27f9b9085e12887ad44893fb2b020
Found-by: Shiziru <lunasl@protonmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/tiff.c