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

Serializing a null QTimeZone crashes

    XMLWordPrintable

    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:
      Linux/X11
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There is 1 open Gerrit change