qt5base-lts/tests/auto/corelib/tools/qsharedpointer
Ihor Dutchak d1210281e4 Fix undefined behavior in QSharedPointer::create()
Initialize a deleter for a new object, created by
QSharedPointer::create(), only after the object is actually
constructed.

[ChangeLog][QtCore][QSharedPointer] Fixed undefined behavior when
creating an object with QSharedPointer::create() and its conscructor
throws an exception.

Task-number: QTBUG-49824
Change-Id: I07f77a78ff468d9b45b8ef133278e8cdd96a0647
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2017-04-17 09:56:15 +00:00
..
.gitignore Moving relevant tests to corelib/tools 2011-09-01 13:07:23 +02:00
externaltests.cpp Properly use the "process" feature 2017-02-27 15:44:46 +00:00
externaltests.h Updated license headers 2016-01-21 18:55:18 +00:00
externaltests.pri remove pointless conditional defines 2015-11-16 14:40:20 +00:00
forwarddeclared.cpp Updated license headers 2016-01-21 18:55:18 +00:00
forwarddeclared.h Updated license headers 2016-01-21 18:55:18 +00:00
nontracked.cpp Updated license headers 2016-01-21 18:55:18 +00:00
nontracked.h Updated license headers 2016-01-21 18:55:18 +00:00
qsharedpointer.pro Tests: Remove CONFIG += parallel_test. 2015-09-05 07:16:50 +00:00
tst_qsharedpointer.cpp Fix undefined behavior in QSharedPointer::create() 2017-04-17 09:56:15 +00:00
wrapper.cpp Updated license headers 2016-01-21 18:55:18 +00:00
wrapper.h Updated license headers 2016-01-21 18:55:18 +00:00