Commit 25341cf5 authored by Eirik Aavitsland's avatar Eirik Aavitsland Committed by Qt Cherry-pick Bot
Browse files

Avoid scanline overflow when reading corrupt tiffs


Check that the actual scanlines to be read by libtiff are not
wider than expected.

This issue was reported by Samuel Groß and Natalie Silvanovich of
Google Project Zero.

Change-Id: I2af818d5a3c57643747a7fbfac8bb934cd79efd7
Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit 124d950b

)
Reviewed-by: default avatarQt Cherry-pick Bot <cherrypick_bot@qt-project.org>
No related merge requests found
Showing with 4 additions and 0 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment