qt6-bb10/tests/auto/corelib
Marc Mutz 51e5a2376a QVarLengthArray: fix off-by-size() bug in growBy()
The growBy() function takes the _increment_ of the size(), so needs to
add size() to increment for the call to realloc().

Add a test which hangs (vanilla build) or explodes (valgrind build)
without the fix.

Amends 26b227e128.

Done-with: Eirik Aavitsland <eirik.aavitsland@qt.io>
Pick-to: 6.5 6.4
Fixes: QTBUG-110412
Change-Id: I7ea91342fdcb779825c88013a3f86ba6d90ef530
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2023-01-20 14:48:20 +01:00
..
animation Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
global QTypeInfo: remove further usages of isPointer / isIntegral 2022-12-30 01:51:27 +01:00
io tst_QUrlQuery: replace a few QVERIFY(~~ != ~~) with QCOMPARE_NE 2023-01-20 00:19:22 -03:00
itemmodels Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
kernel QPermission: replace T data<T>() with std::optional<T> value<T>() 2023-01-13 21:07:18 +01:00
mimetypes QFileInfo: use currentDateTimeUtc() 2023-01-06 17:57:52 +00:00
platform CMake: Remove direct qt_android_generate_deployment_settings call 2022-12-15 20:23:28 +01:00
plugin QUuid: add the ability to specify the byte order for 128-bit IDs 2022-12-16 19:29:10 +01:00
serialization QXmlStreamWriter: fix a thinko in doWriteToDevice(QSV) 2022-12-16 22:58:11 +01:00
text QLocale: add unittests for qstrtod of "NaN" and "nan" 2023-01-17 20:41:48 +02:00
thread QPromise: improve documentation snippet 2023-01-09 10:03:48 +01:00
time Fix RTA test build for INTEGRITY 2023-01-09 11:47:37 +01:00
tools QVarLengthArray: fix off-by-size() bug in growBy() 2023-01-20 14:48:20 +01:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00