summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-01-06 23:17:03 +0100
committerMarc Mutz <marc.mutz@kdab.com>2016-01-07 13:00:40 +0000
commitc38b14e2519a2bdbd835e52ee699ae9ac3f45d00 (patch)
treea539e7bf79d7d982c1655c555e651316c52cdcce /configure
parent9c7be0a7ec92a28d5d489fb78c500dad3f01d9ec (diff)
Fix UB in tst_QSharedPointer::basics()
Binding a reference to the nullptr is undefined behavior. Just skip that particular test when 'ptr' is null. Found by UBSan: tests/auto/corelib/tools/qsharedpointer/tst_qsharedpointer.cpp:258:32: runtime error: reference binding to null pointer of type 'struct Data' Change-Id: I125588b9d269a6f76716d660d03142f409513885 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com> Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com> Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions