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

QJsonValue::operator== crashes when the value holds an empty object or array

    XMLWordPrintable

Details

    Description

      QJsonValue(QJsonObject()) == QJsonValue(QJsonObject())

      causes "ASSERT: "d" in file json/qjsonobject.cpp, line 90".

      and

      QJsonValue(QJsonArray()) == QJsonValue(QJsonArray())

      causes a plain old segfault.

      Attachments

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

        Activity

          People

            laknoll Lars Knoll
            kenthans Kent Hansen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes