diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2024-08-13 15:39:04 +0200 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2024-08-26 18:09:32 +0200 |
| commit | 5d656e5085303bd427a4e8564818c65ec1d0ac26 (patch) | |
| tree | e7068c3dec2c61ce0072183bb7808bd4e9c4a701 /src/corelib/tools/qcommandlineparser.cpp | |
| parent | 9b70a895540093914131bc747310c0041e8fec58 (diff) | |
Fix handling of invalid year in QDateTimeParser
Only proleptic calendars allow negative years; and year zero should be
treated as invalid unless the calendar has it.
Thanks again to Albert Astals Cid for reporting this, in IRC.
Found by oss-fuzzing of KDE's image plugins.
Change-Id: I5e808a6649bf0067ee46b61ef11ee01616fc9b41
Reviewed-by: Albert Astals Cid <aacid@kde.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qcommandlineparser.cpp')
0 files changed, 0 insertions, 0 deletions
