qt6-bb10/src/gui/image
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.pri Add AVX support for the painting and image code. 2012-05-22 20:56:38 +02:00
qbitmap.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qbitmap.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qbmphandler.cpp Fixed crash in image reader when reading certain BMP files. 2013-02-06 09:59:56 +01:00
qbmphandler_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qgifhandler.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qgifhandler.pri Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qgifhandler_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qicon.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qicon.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qicon_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qiconengine.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qiconengine.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qiconengineplugin.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qiconengineplugin.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qiconloader.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qiconloader_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qimage.cpp Clean up logical dpi for QImage. 2013-01-31 10:39:38 +01:00
qimage.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qimage_avx.cpp Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qimage_neon.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qimage_p.h Clean up logical dpi for QImage. 2013-01-31 10:39:38 +01:00
qimage_sse2.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qimage_ssse3.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qimageiohandler.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qimageiohandler.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qimagepixmapcleanuphooks.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qimagepixmapcleanuphooks_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qimagereader.cpp Exclude BMP from supported formats if it disabled by Qt build 2013-01-29 09:28:19 +01:00
qimagereader.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qimagewriter.cpp Exclude BMP from supported formats if it disabled by Qt build 2013-01-29 09:28:19 +01:00
qimagewriter.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qjpeghandler.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qjpeghandler.pri Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qjpeghandler_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qmovie.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qmovie.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qnativeimage.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qnativeimage_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qpaintengine_pic.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qpaintengine_pic_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qpicture.cpp Doc, Qt GUI: Fix "no \inmodule command" warnings 2013-01-28 14:07:34 +01:00
qpicture.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qpicture_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qpictureformatplugin.cpp Doc, Qt GUI: Fix "no \inmodule command" warnings 2013-01-28 14:07:34 +01:00
qpictureformatplugin.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qpixmap.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qpixmap.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qpixmap_blitter.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qpixmap_blitter_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qpixmap_raster.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qpixmap_raster_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qpixmap_win.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qpixmapcache.cpp doc: Fix QPixmapCache size default value in doc 2013-02-05 12:18:27 +01:00
qpixmapcache.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qpixmapcache_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qplatformpixmap.cpp Doc: Fix module name format 2013-01-25 17:27:44 +01:00
qplatformpixmap.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qpnghandler.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qpnghandler.pri Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qpnghandler_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qppmhandler.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qppmhandler_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qxbmhandler.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qxbmhandler_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qxpmhandler.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qxpmhandler_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00