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

Possible null pointer dereference in QStyle::proxy()

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes