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

Possible null pointer dereference in QStyle::proxy()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.5.1
    • GUI: Other
    • None

      In the following code QStylePrivate::proxyStyle is dereferenced uncheckedly if it isn't equal to this but ** it can be nullptr under some circumstances:

      const QStyle * QStyle::proxy() const
      {
          Q_D(const QStyle);
          return d->proxyStyle == this ? this : d->proxyStyle->proxy();
      } 

       

      At least I had a problem with QWindowsVistaStyle.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            glassez Vladimir Golovnev
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes