qt5base-lts/tests/auto/gui
Samuel Rødal af84313c62 Fixed crash in image reader when reading certain BMP files.
If the high bit in a mask is set, for instance if the mask is
0xff000000, and we shift it to the right by 24 positions, since the mask
was not declared as unsigned we ended up with a mask value of
0xffffffff. We then add 1 to this value and divide by the result,
causing a division by zero crash.

The masks need to be declared unsigned to prevent sign bit extension
when shifting right.

Task-number: QTBUG-29194
Change-Id: I79260344cebfbdd3ea86416a9c734dca76517999
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
2013-02-06 09:59:56 +01:00
..
image Fixed crash in image reader when reading certain BMP files. 2013-02-06 09:59:56 +01:00
itemmodels Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
kernel Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
math3d Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
painting Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qopengl Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
text Fix minor typos in docs, printed messages & comments 2013-01-28 18:12:41 +01:00
util Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
gui.pro Move QStandardItem/QStandardItemModel to QtGui 2012-06-29 22:42:19 +02:00