Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.12.7
-
None
-
-
14f3f419b0864944d75283a850dc0ce141feaf0e (qt/qtbase/dev) f919d9a2dad9412c64e74b19eee2b8429da2d3bb (qt/qtbase/5.12), ba2a5d693 (tqtc/lts-5.15)
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 |
310157,5 | Fix crash on serializing default-constructed QTimeZone | dev | qt/qtbase | Status: MERGED | +2 | 0 |
311130,1 | Fix crash on serializing default-constructed QTimeZone | 5.15 | qt/qtbase | Status: ABANDONED | +2 | 0 |
311131,3 | Fix crash on serializing default-constructed QTimeZone | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |
445675,2 | Fix crash on serializing default-constructed QTimeZone | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
483509,1 | Fix crash on serializing default-constructed QTimeZone | tqtc/lts-5.15-vxworks | qt/tqtc-qtbase | Status: ABANDONED | 0 | 0 |