qt5base-lts/tests/auto/gui/image/qimagereader
Eirik Aavitsland e4f71b0cb5 Crash fix: reject certain malformed bmp images
A malformed bmp file header could specify a negative color table
size. The bmp handler would then return a QImage that claimed to be
valid, but actually was invalid, having an empty color table. This
would cause crash later, e.g. when attempting to paint it.

Change-Id: I7df7c40867557a82dbcee44c7de061226ff232c0
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Reviewed-by: Richard J. Moore <rich@kde.org>
2016-02-05 04:14:35 +00:00
..
baseline
images Crash fix: reject certain malformed bmp images 2016-02-05 04:14:35 +00:00
.gitignore
android_testdata.qrc Android: Fix QImageReader test 2015-01-16 09:27:15 +01:00
qimagereader.pro MSVC: Remove use of -Zm argument 2015-02-13 21:23:19 +00:00
qimagereader.qrc Fixed crash in image reader when reading certain BMP files. 2013-02-06 09:59:56 +01:00
tst_qimagereader.cpp Crash fix: reject certain malformed bmp images 2016-02-05 04:14:35 +00:00