qt6-bb10/src/gui/image
Laszlo Agocs ba9ac942f0 Add missing null check when detaching a QImage
copy() may result in a failing malloc and thus return a QImage with a
null d. Hence the need for a null check before incrementing detach_no.

Task-number: QTBUG-41657
Change-Id: I868c37ef355fceaa1e2fc5f8a472e3dcc84dcadd
Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
Reviewed-by: Jørgen Lind <jorgen.lind@theqtcompany.com>
2015-03-18 14:25:13 +00:00
..
image.pri Add AVX2 autovectorized versions of premultiply 2015-03-10 12:28:13 +00:00
qbitmap.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qbitmap.h Update copyright headers 2015-02-11 06:49:51 +00:00
qbmphandler.cpp QtGui: Fix const correctness in old style casts 2015-03-12 04:23:50 +00:00
qbmphandler_p.h Update copyright headers 2015-02-11 06:49:51 +00:00
qgifhandler.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qgifhandler.pri
qgifhandler_p.h Update copyright headers 2015-02-11 06:49:51 +00:00
qicon.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qicon.h Update copyright headers 2015-02-11 06:49:51 +00:00
qicon_p.h Use own QIconEngine in QFileIconProvider 2015-03-11 17:04:55 +00:00
qiconengine.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qiconengine.h Update copyright headers 2015-02-11 06:49:51 +00:00
qiconengineplugin.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qiconengineplugin.h Update copyright headers 2015-02-11 06:49:51 +00:00
qiconloader.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qiconloader_p.h Update copyright headers 2015-02-11 06:49:51 +00:00
qimage.cpp Add missing null check when detaching a QImage 2015-03-18 14:25:13 +00:00
qimage.h Pass params of shareable type by const-ref rather than by value 2015-02-13 16:29:25 +00:00
qimage_avx2.cpp Add AVX2 autovectorized versions of premultiply 2015-03-10 12:28:13 +00:00
qimage_compat.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qimage_conversions.cpp QtGui: Fix const correctness in old style casts 2015-03-12 04:23:50 +00:00
qimage_mips_dspr2.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qimage_mips_dspr2_asm.S Update copyright headers 2015-02-11 06:49:51 +00:00
qimage_neon.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qimage_p.h Update copyright headers 2015-02-11 06:49:51 +00:00
qimage_sse2.cpp Optimize generic conversion and remove now obsolete direct conversions 2015-02-13 13:20:52 +00:00
qimage_sse4.cpp Add AVX2 autovectorized versions of premultiply 2015-03-10 12:28:13 +00:00
qimage_ssse3.cpp QtGui: Fix const correctness in old style casts 2015-03-12 04:23:50 +00:00
qimageiohandler.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qimageiohandler.h Update copyright headers 2015-02-11 06:49:51 +00:00
qimagepixmapcleanuphooks.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qimagepixmapcleanuphooks_p.h Update copyright headers 2015-02-11 06:49:51 +00:00
qimagereader.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qimagereader.h Update copyright headers 2015-02-11 06:49:51 +00:00
qimagewriter.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qimagewriter.h Update copyright headers 2015-02-11 06:49:51 +00:00
qjpeghandler.cpp QtGui: Fix const correctness in old style casts 2015-03-12 04:23:50 +00:00
qjpeghandler.pri Simplify linking to different jpeg libs. 2013-12-09 15:40:18 +01:00
qjpeghandler_p.h Update copyright headers 2015-02-11 06:49:51 +00:00
qmovie.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qmovie.h Update copyright headers 2015-02-11 06:49:51 +00:00
qnativeimage.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qnativeimage_p.h Update copyright headers 2015-02-11 06:49:51 +00:00
qpaintengine_pic.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qpaintengine_pic_p.h Update copyright headers 2015-02-11 06:49:51 +00:00
qpicture.cpp QtGui: Fix const correctness in old style casts 2015-03-12 04:23:50 +00:00
qpicture.h Update copyright headers 2015-02-11 06:49:51 +00:00
qpicture_p.h Update copyright headers 2015-02-11 06:49:51 +00:00
qpictureformatplugin.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qpictureformatplugin.h Update copyright headers 2015-02-11 06:49:51 +00:00
qpixmap.cpp Always overwrite QPixmap data on loadFromData 2015-03-16 09:11:56 +00:00
qpixmap.h Update copyright headers 2015-02-11 06:49:51 +00:00
qpixmap_blitter.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qpixmap_blitter_p.h Update copyright headers 2015-02-11 06:49:51 +00:00
qpixmap_raster.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qpixmap_raster_p.h Update copyright headers 2015-02-11 06:49:51 +00:00
qpixmap_win.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qpixmapcache.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qpixmapcache.h Update copyright headers 2015-02-11 06:49:51 +00:00
qpixmapcache_p.h Update copyright headers 2015-02-11 06:49:51 +00:00
qplatformpixmap.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qplatformpixmap.h Update copyright headers 2015-02-11 06:49:51 +00:00
qpnghandler.cpp QtGui: Fix const correctness in old style casts 2015-03-12 04:23:50 +00:00
qpnghandler.pri Replace win32-g++ with mingw scope 2014-01-17 12:08:24 +01:00
qpnghandler_p.h Update copyright headers 2015-02-11 06:49:51 +00:00
qppmhandler.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qppmhandler_p.h Update copyright headers 2015-02-11 06:49:51 +00:00
qxbmhandler.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
qxbmhandler_p.h Update copyright headers 2015-02-11 06:49:51 +00:00
qxpmhandler.cpp QtGui: assorted migrations to QString::asprintf 2015-02-12 19:39:54 +00:00
qxpmhandler_p.h Update copyright headers 2015-02-11 06:49:51 +00:00