qt6-bb10/tests/auto/corelib/time
Edward Welbourne e7db7a68f6 Remove an unfounded assertion, add the test-case that tripped it
The date-time parser, unless it hits a fixed-width numeric field
that's unfilled, leaves checking the date against its configured range
until it's parsed all fields. This means it can be out of range due to
a full-width field when it hits an unfilled one and tries to take the
range into account when deciding whether to zero-pad or expect more
input into the field. So asserting the current partially-parsed
datetime is in range at that point is not justified.

Thanks to Albert Astals Cid for reporting this fiendish corner case,
found by oss-fuzzing of KDE's image plugins, in IRC.

Pick-to: 6.7 6.5 6.2 5.15
Change-Id: Id7db7409a0b5afadafb6920a0785a4cec4c80b62
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Albert Astals Cid <aacid@kde.org>
(cherry picked from commit e0a4de17ddb924d9bf222fb3ea2d0526813edea6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-08-12 11:26:20 +00:00
..
qcalendar Change license for tests files 2024-02-04 09:56:42 +01:00
qdate Fix test compilation issues with QtLite configuration 2024-05-06 14:29:02 +00:00
qdatetime Remove an unfounded assertion, add the test-case that tripped it 2024-08-12 11:26:20 +00:00
qdatetimeparser Change license for tests files 2024-02-04 09:56:42 +01:00
qtime Change license for tests files 2024-02-04 09:56:42 +01:00
qtimezone Update CLDR Windows timezone data to v44.1 2024-06-02 15:25:00 +02:00
CMakeLists.txt Improve test compilation setup with QtLite configuration 2024-05-10 09:04:44 +00:00