qt5base-lts/tests/auto/corelib
Marc Mutz d76bf64531 QByteArray: fix base64 round-trip w/more than 2GiB data
There was an explicit int cast in fromBase64Encoding() which was never
ported to qsizetype and therefore truncated the result.

Fix by removing the int cast.

Add a test, optimize it for as low memory usage as possible, given we
need to work in input and output data each in excess of 2GiB.

Fixes: QTBUG-104985
Pick-to: 6.4 6.3 6.2
Change-Id: I9c0924957e62e5cb3003132cd811b8b0315d8ac1
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2022-07-26 02:06:17 +02:00
..
animation Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
global function_ref test: Don't take reference of temporaries 2022-06-20 19:52:01 +00:00
io QProcess: skip processesInMultipleThreads test on emulators 2022-07-13 21:02:01 +02:00
itemmodels Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
kernel QVariant: do allow non-default-constructible types 2022-07-22 12:42:55 -07:00
mimetypes Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
platform Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
plugin Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
serialization QCursor: add missing QT_DEPRECATED_VERSION_X_6_0 for deprecated methods 2022-07-21 19:59:07 +02:00
text QByteArray: fix base64 round-trip w/more than 2GiB data 2022-07-26 02:06:17 +02:00
thread QMutex: limit moreStress test to idealThreadCount threads 2022-07-20 06:57:43 +02:00
time Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
tools Increase timeout of slow test for ASAN-enabled build 2022-06-15 23:58:16 +02:00
CMakeLists.txt Add tests for QAndroidApplication's sdkVersion and activity 2021-05-13 01:41:36 +03:00