summaryrefslogtreecommitdiffstats
path: root/src/plugins/imageformats/shared/qiiofhelpers.cpp
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2021-02-24 14:55:10 +0100
committerTarja Sundqvist <tarja.sundqvist@qt.io>2021-02-25 14:57:03 +0200
commit2357d61bc54e80d7a1e4ea5a16514877faf2f3fb (patch)
treeb785f5bfc04632d65e06d2a3f37e5e8a0d9eb897 /src/plugins/imageformats/shared/qiiofhelpers.cpp
parente78696656bfb28b42691ed0445f1a4f370b2d496 (diff)
Avoid oob access when reading certain corrupt tiled tiffs
Add check against corrupt tiffs where libtiff can report conflicting values of tile width, length and byte size. This issue was reported by Samuel Groß and Natalie Silvanovich of Google Project Zero. Change-Id: Icb9c20317746190c446c93b474f5c490a805551c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 0709cda6fa836ac222a06062abc3fd3ac0730c12)
Diffstat (limited to 'src/plugins/imageformats/shared/qiiofhelpers.cpp')
0 files changed, 0 insertions, 0 deletions