qt5base-lts/tests/auto/corelib/text
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
..
qanystringview tst_QAnyStringView: explicitly check the spaceship operator 2022-06-14 01:30:48 +00:00
qbytearray QByteArray: fix base64 round-trip w/more than 2GiB data 2022-07-26 02:06:17 +02:00
qbytearrayapisymmetry Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qbytearraylist Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qbytearraymatcher Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qbytearrayview Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qbytedatabuffer Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qchar Add wasm exception for tst_qchar 2022-07-11 17:21:27 +02:00
qcollator Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qlatin1stringview Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qlocale Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qregularexpression Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qstring QString: fix lifetime issues with QRegularExpression APIs 2022-07-10 23:40:24 +02:00
qstring_no_cast_from_bytearray Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qstringapisymmetry tst_QStringApiSymmetry: use QCOMPARE_EQ instead of QCOMPARE 2022-06-03 20:37:51 +00:00
qstringbuilder Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qstringconverter Add QStringDecoder::decoderForHtml() 2022-06-21 01:04:12 +02:00
qstringiterator Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qstringlist Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qstringmatcher Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qstringtokenizer Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qstringview Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtextboundaryfinder tst_qtextboundaryfinder: Remove full copies of data files 2022-05-24 23:07:43 +02:00
qunicodetools Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
shared Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
CMakeLists.txt Android: Enable building of the QLocale test case 2022-05-23 19:12:06 +00:00