qt6-bb10/tests/auto/gui/image/qimagereader/images
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
..
4bpp-rle.bmp
16bpp.bmp
YCbCr_cmyk.jpg
YCbCr_cmyk.png
YCbCr_rgb.jpg
away.png
bat1.gif
bat2.gif
beavis.jpg
black.png
black.xpm
colorful.bmp
corrupt-colors.xpm
corrupt-pixel-count.xpm
corrupt-pixels.xpm
corrupt.bmp
corrupt.gif
corrupt.jpg
corrupt.png
corrupt.svg
corrupt.svgz
corrupt.xbm
crash-signed-char.bmp
earth.gif
endless-anim.gif
font.bmp
four-frames.gif
gnus.xbm
image.pbm
image.pgm
image.png
image.ppm
kollada-noext
kollada.png
marble.xpm
namedcolors.xpm
negativeheight.bmp
noclearcode.bmp
noclearcode.gif
nontransparent.xpm
qt-gif-anim.gif
qt-gif-noanim.gif
qt.gif
qt1.gif
qt2.gif
qt3.gif
qt4.gif
qt5.gif
qt6.gif
qt7.gif
qt8.gif
qtbug13653-no_eoi.jpg
rect.svg
rect.svgz
rgb32bf.bmp Fixed crash in image reader when reading certain BMP files. 2013-02-06 09:59:56 +01:00
runners.ppm
teapot.ppm
test.ppm
test.xpm
test32bfv4.bmp
test32v5.bmp
trans.gif
transparent.xpm
trolltech.gif
tst7.bmp
tst7.png
txts.jpg
txts.png