qt6-bb10/tests/auto/gui
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
..
image Fix another crash when converting format of buffer-created QImage 2015-03-04 10:53:00 +00:00
itemmodels Don't crash with invalid QModelIndex or when QTreeWidgetItem is NULL in mimeData() 2015-02-06 09:43:38 +00:00
kernel Prospective stabilization fix for tst_qwindow::positioning(default) 2014-12-18 17:56:03 +01:00
math3d Update license headers and add new license files 2014-09-24 12:26:19 +02:00
painting Make sure widget is polished before checking its font 2015-01-08 10:07:00 +01:00
qopengl Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qopenglconfig Add qopenglconfig test. 2015-02-02 23:05:41 +00:00
text Fix drawing of background for multipage QTextTable cells 2015-03-02 06:07:18 +00:00
util Observe QLocale::RejectGroupSeparator in QInt/DoubleValidator. 2014-11-20 16:38:23 +01:00
gui.pro Add qopenglconfig test. 2015-02-02 23:05:41 +00:00