summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qstring.cpp
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2016-05-25 10:27:51 +0200
committerJani Heikkinen <jani.heikkinen@qt.io>2016-05-25 15:46:04 +0000
commit421aa422af2f6b147ad076ad1736b3747abc4317 (patch)
tree4472e550d5924142d60d4bc1d0918d7fb757397e /src/corelib/tools/qstring.cpp
parentd6905b2ada509cbe2322f65b862af3b99b79b792 (diff)
Really fix crash on certain malformed bmp images
This is an improvement of e4f71b0c. By using the QImageReader::read() overload taking a QImage pointer, and ignoring the return value, one could still end up with a corrupt QImage object. Avoid the subsequent crashes by closing that hole. Change-Id: I5dca10e4808ac3365e3ddba6689edecb7444948f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com> Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/corelib/tools/qstring.cpp')
0 files changed, 0 insertions, 0 deletions