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

Null pointer crash in QWaylandXdgShell::createXdgPopup (v5)

    XMLWordPrintable

Details

    • All
    • f602191778cce57a67fdeffe5f3cc0e1cd2c7b53 (qt/qtwayland/5.12)

    Description

      QWaylandXdgPopup *QWaylandXdgShell::createXdgPopup(QWaylandWindow *window, QWaylandInputDevice *inputDevice)
      {
      QWaylandWindow *parentWindow = m_popups.empty() ? window->transientParent() : m_popups.last();
      #ifdef Q_OS_SYLIXOS // this is a bug for qt.
      if (nullptr == parentWindow)
      return nullptr;
      #endif
      ::wl_surface *parentSurface = parentWindow->object();
      ...

      file: qt5/qtwayland/src/client/qwaylandxdgshell.cpp

      Attachments

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

        Activity

          People

            johanhelsing Johan Helsing
            xiaoyan xiao yan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes