diff options
author | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2016-05-25 10:27:51 +0200 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2016-05-25 15:46:04 +0000 |
commit | 421aa422af2f6b147ad076ad1736b3747abc4317 (patch) | |
tree | 4472e550d5924142d60d4bc1d0918d7fb757397e /src/corelib/tools/qtimezoneprivate_icu.cpp | |
parent | d6905b2ada509cbe2322f65b862af3b99b79b792 (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/qtimezoneprivate_icu.cpp')
0 files changed, 0 insertions, 0 deletions