Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-86019

Serializing a null QTimeZone crashes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.15.12, 5.12.10
    • 5.12.7
    • Core: Date/Time
    • None
    • Linux/X11
    • 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

        Activity

          People

            Eddy Edward Welbourne
            nocnokneo Taylor Braun-Jones
            Maurice Kalinowski Maurice Kalinowski
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes