diff options
author | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2018-07-04 16:19:19 +0200 |
---|---|---|
committer | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2018-07-16 13:49:56 +0000 |
commit | 9a3359b57b2286286c3a83fcfab79545b3ce114b (patch) | |
tree | 14e3bcae3d062eed921f6ad5ecb8b9e66495fcfc /src/network | |
parent | b0797cfed63d14707249a85e09c03177595a4df8 (diff) |
Fix: png handler returning Mono QImage with color table < 2 items
A bit depth 1 png image may contain a single color table item. The png
handler would in such cases reduce the size of the QImage color table
to 1, which could easily lead to crashes later on.
Task-number: QTBUG-69256
Change-Id: I01d78977c121bacc44b823231d8f32ca63d8a98c
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/network')
0 files changed, 0 insertions, 0 deletions