qt5base-lts/tests/auto/gui/image/qimagereader/qimagereader.qrc
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

70 lines
2.6 KiB
Plaintext

<RCC>
<qresource prefix="/">
<file>images/16bpp.bmp</file>
<file>images/4bpp-rle.bmp</file>
<file>images/YCbCr_cmyk.jpg</file>
<file>images/YCbCr_cmyk.png</file>
<file>images/YCbCr_rgb.jpg</file>
<file>images/away.png</file>
<file>images/bat1.gif</file>
<file>images/bat2.gif</file>
<file>images/beavis.jpg</file>
<file>images/black.png</file>
<file>images/black.xpm</file>
<file>images/colorful.bmp</file>
<file>images/corrupt-colors.xpm</file>
<file>images/corrupt-pixels.xpm</file>
<file>images/corrupt.bmp</file>
<file>images/corrupt.gif</file>
<file>images/corrupt.jpg</file>
<file>images/corrupt.png</file>
<file>images/corrupt.xbm</file>
<file>images/crash-signed-char.bmp</file>
<file>images/earth.gif</file>
<file>images/font.bmp</file>
<file>images/gnus.xbm</file>
<file>images/image.pbm</file>
<file>images/image.pgm</file>
<file>images/image.png</file>
<file>images/image.ppm</file>
<file>images/kollada.png</file>
<file>images/marble.xpm</file>
<file>images/namedcolors.xpm</file>
<file>images/negativeheight.bmp</file>
<file>images/noclearcode.bmp</file>
<file>images/noclearcode.gif</file>
<file>images/nontransparent.xpm</file>
<file>images/rgb32bf.bmp</file>
<file>images/runners.ppm</file>
<file>images/teapot.ppm</file>
<file>images/test.ppm</file>
<file>images/test.xpm</file>
<file>images/test32bfv4.bmp</file>
<file>images/test32v5.bmp</file>
<file>images/tst7.bmp</file>
<file>images/tst7.png</file>
<file>images/transparent.xpm</file>
<file>images/trolltech.gif</file>
<file>images/qt.gif</file>
<file>images/qt1.gif</file>
<file>images/qt2.gif</file>
<file>images/qt3.gif</file>
<file>images/qt4.gif</file>
<file>images/qt5.gif</file>
<file>images/qt6.gif</file>
<file>images/qt7.gif</file>
<file>images/qt8.gif</file>
<file>images/endless-anim.gif</file>
<file>images/four-frames.gif</file>
<file>images/qt-gif-anim.gif</file>
<file>images/qt-gif-noanim.gif</file>
<file>images/rect.svg</file>
<file>images/rect.svgz</file>
<file>images/corrupt.svg</file>
<file>images/corrupt.svgz</file>
<file>images/qtbug13653-no_eoi.jpg</file>
<file>images/txts.jpg</file>
<file>images/txts.png</file>
</qresource>
</RCC>