qt6-bb10/tests/auto/corelib/text
Fabian Kosmale c46ee7df57 QStringConverter: Do not crash if invalid
Attempting to use an invalid QStringConverter would so far have resulted
in a crash, as we would dereference the null iface pointer.
Fix this by inserting adequate checks, and ensure that hasError returns
true if we attempt to en/decode with an invalid converter.

Pick-to: 6.2 6.3
Change-Id: Icf74bb88cd8c95685481cc0bd512da99b62f33e6
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2022-05-25 16:38:35 +02:00
..
qanystringview Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qbytearray Use SPDX license identifiers 2022-05-16 16:37:38 +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 Use SPDX license identifiers 2022-05-16 16:37:38 +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 Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qstring_no_cast_from_bytearray Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qstringapisymmetry Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qstringbuilder Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qstringconverter QStringConverter: Do not crash if invalid 2022-05-25 16:38:35 +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