qt6-bb10/tests/auto/corelib/serialization
Thiago Macieira c07c2d5a52 CBOR/JSON: fix crash when comparing strings with different length
Amends 8e5ce9cd36, which introduced the
QtPrivate::equalStrings() call. At that time, equalStrings() had already
required equal lengths (see 1560e0161a),
so no excuse.

[ChangeLog][QtCore][QCborMap and QJsonObject] Fixed bug that could
result in a crash or failing to find a entry in the map/object with non-
ASCII keys.

Manual conflict resolution for 6.9:
- Port from keyView() to key(), because the former is a 6.10+ feature.

Fixes: QTBUG-133744
Change-Id: I6b0f8b0a2e47d3ef905afffda6c4c079814a0914
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit 54daec43a041cb69cff31cbfd1dd0b7127e8ba87)
(cherry picked from commit 8e94b67ba11fecfee134950eaae5c5b29812e82c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit d4a90a3f3013eae4e837fbd2df63d5803f19608a)
2025-03-17 13:10:27 +00:00
..
json CBOR/JSON: fix crash when comparing strings with different length 2025-03-17 13:10:27 +00:00
qcborstreamreader Fix users of static max_size() 2024-08-31 08:56:31 +00:00
qcborstreamwriter tst_QCborStreamWriter: port to QTEST_THROW_ON_FAIL 2024-06-19 23:31:29 +00:00
qcborvalue CBOR/JSON: fix crash when comparing strings with different length 2025-03-17 13:10:27 +00:00
qcborvalue_json Change license for tests files 2024-02-04 09:56:42 +01:00
qdatastream Fix test compilation issues with QtLite configuration 2024-05-06 14:29:02 +00:00
qdatastream_core_pixmap Change license for tests files 2024-02-04 09:56:42 +01:00
qtextstream Modernise tst_QTextStream::manipulators() and add two new data rows 2025-02-10 08:43:11 +00:00
qxmlstream Add REUSE.toml files 2024-11-07 08:38:49 +01:00
CMakeLists.txt tst_QCborValue: port to QTEST_THROW_ON_FAIL 2024-06-19 23:31:45 +00:00
cborlargedatavalidation.cpp Change license for tests files 2024-02-04 09:56:42 +01:00