summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qgifhandler.cpp
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2018-08-02 13:11:20 +0200
committerEirik Aavitsland <eirik.aavitsland@qt.io>2018-08-09 09:26:12 +0000
commitb7321368924c4dbed81aa008d76ebfb1dffd7e60 (patch)
tree48eaacbbe53d86b1dd8a24070e03e6167fda4535 /src/gui/image/qgifhandler.cpp
parent3570cdc10d0008c7dc9858cd8a38d1934ee62fdb (diff)
Fix crash in qppmhandler for certain malformed image files
The ppm format specifies that the maximum color value field must be less than 65536. The handler did not enforce this, leading to potentional overflow when the value was used in 16 bits context. Task-number: QTBUG-69449 Change-Id: Iea7a7e0f8953ec1ea8571e215687d12a9d77e11c Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 8c4207dddf9b2af0767de2ef0a10652612d462a5) (cherry picked from commit 805dce07b9797f5f2770a9d2c58d6d381784ca25)
Diffstat (limited to 'src/gui/image/qgifhandler.cpp')
0 files changed, 0 insertions, 0 deletions