diff options
author | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2020-02-24 12:00:21 +0100 |
---|---|---|
committer | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2020-03-12 10:43:20 +0100 |
commit | 6e7fe099f41068aa75fe01e52f1496dfdc12ed79 (patch) | |
tree | 479281137a8f075b2199b10d8032434de23834e9 /src/plugins/imageformats/tiff/qtiffhandler_p.h | |
parent | 884b676bba3b1bae9cee982e8b387b067ea02b24 (diff) |
tiff: do not try to read 32bpc as 16bpc
The header reader would assume that bits per sample above 8 had to be
16, but other values are also possible, so check explicitly.
Fixes: QTBUG-82412
Change-Id: I7f0799de4d4cdc84023a34900aa595a7bf73eca1
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit 0c4d4dc12a68124451113e21d2c4fdc5d06d01d0)
Diffstat (limited to 'src/plugins/imageformats/tiff/qtiffhandler_p.h')
0 files changed, 0 insertions, 0 deletions