qt5base-lts/tests/auto/gui/image
Eirik Aavitsland 509bc7e59c Fix another crash when converting format of buffer-created QImage
This continues 68762151db

When doing format conversion, the optimized inplace codepath did not
check if the image data was external, i.e. if the QImage had been
created by the constructor taking an existing external buffer.

The previous commit fixed the readonly case. But in the case of the
QImage constructor taking non-const uchar*, data will be read-write,
but still external. This would of course crash if the converter tries
to realloc it.

Task-number: QTBUG-44610
Change-Id: I94d275d464e8af221682b538fc3e4897a59c061e
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
2015-03-04 10:53:00 +00:00
..
qicoimageformat Android: Fix qicoimageformat test. 2014-12-22 08:34:05 +01:00
qicon Android: Fix qicon test. 2014-12-22 08:33:02 +01:00
qimage Fix another crash when converting format of buffer-created QImage 2015-03-04 10:53:00 +00:00
qimageiohandler Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qimagereader Android: Fix QImageReader test 2015-01-16 09:27:15 +01:00
qimagewriter Android: Fix qimagewriter test. 2015-01-08 10:02:23 +01:00
qmovie Android: Fix qmovie test. 2014-12-22 08:33:17 +01:00
qpicture Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qpixmap Android: Fix qpixmap test. 2015-01-08 10:10:50 +01:00
qpixmapcache Update license headers and add new license files 2014-09-24 12:26:19 +02:00
image.pro Check for network module when building according auto tests 2013-02-19 19:20:53 +01:00