qt6-bb10/tests/auto/corelib
Thiago Macieira d351a97e85 QString::arg: don't pass nullptr to memcpy()
A null QString / QStringView has a null begin pointer stored as its
array beginning (something we hide a little in the QString::data()
function, but not in QStringView::data()). We've been passing a null
pointer to memcpy() every time someone passed a null QStringView for
QString's single-argument arg() call, though not the multi-string arg()
version (which is the only one QStringView offers).

Commit f5021835df made this worse by
making QStringViews created from null QStrings retain the nullness (as
was intended).

Fixes: QTBUG-120624
Pick-to: 6.2 6.5 6.6 6.7
Change-Id: I6e2677aad2ab45759db2fffd17a870639b19340b
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
2024-01-11 00:37:29 +00:00
..
animation Tests: remove blacklisted CIs no longer available 2023-12-06 22:07:44 +01:00
global tst_qxp_function_ref: check that function_ref's are trivially copyable 2023-12-16 09:43:58 +01:00
io Fix some -Wunused-* warnings on MinGW 2024-01-10 09:45:48 +01:00
ipc Skip tst_QSharedMemory::useTooMuchMemory 2023-12-22 17:01:01 +02:00
itemmodels QIdentityProxyModel: add setHandleSourceLayoutChanges(bool) 2023-12-15 16:52:10 +03:00
kernel QObject: assert connection type isn't UniqueConnection for lambdas 2023-12-22 19:16:47 +02:00
mimetypes Long live QSpan as public API! 2023-12-07 22:38:15 +00:00
platform Android: fix and simplify the orientation change logic 2023-12-05 16:28:12 +00:00
plugin Resurrect tests/auto/corelib/plugin/qpluginloader/machtest 2024-01-10 00:44:34 +01:00
serialization Tests: remove blacklisted CIs no longer available 2023-12-06 22:07:44 +01:00
text QString::arg: don't pass nullptr to memcpy() 2024-01-11 00:37:29 +00:00
thread QFuture: Don't use QFutureCallOutInterface for continuations 2023-12-13 21:54:00 +01:00
time Give the caller control over the century used for two-digit dates 2023-12-08 11:40:36 +01:00
tools Dissociate QTypeRevision from QVersionNumber 2024-01-10 02:25:24 +00:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00