Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P1: Critical
-
Resolution: Done
-
Affects Version/s: 5.12.7
-
Fix Version/s: 5.12.10
-
Component/s: Core: Date/Time
-
Labels:None
-
Platform/s:
-
Commits:14f3f419b0864944d75283a850dc0ce141feaf0e (qt/qtbase/dev) f919d9a2dad9412c64e74b19eee2b8429da2d3bb (qt/qtbase/5.12)
Description
Serializing a null QTimeZone crashes:
QByteArray blob;
QDataStream stream(&blob, QIODevice::WriteOnly);
stream << QTimeZone(); // CRASH!
Other other null objects like QDate and QTime are able to serialize/deserialize so QTimeZone should be able to as well.
Attachments
For Gerrit Dashboard: QTBUG-86019 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
311130,1 | Fix crash on serializing default-constructed QTimeZone | 5.15 | qt/qtbase | Status: NEW | +2 | 0 |