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

Null pointer dereference in QWaylandInputDevice::setCursor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: 5.11
    • Fix Version/s: 5.13.0 Beta 1
    • Component/s: QPA: Wayland
    • Labels:
      None
    • Platform/s:
      All

      Description

      void QWaylandInputDevice::setCursor(const QSharedPointer<QWaylandBuffer> &buffer, const QPoint &hotSpot)
      {
      #ifdef Q_OS_SYLIXOS   // this is a bug for qt.
          if (!buffer.isNull()) {
      #endif
          setCursor(buffer->buffer(), hotSpot, buffer->size());
          mPixmapCursor = buffer;
      #ifdef Q_OS_SYLIXOS
          }
      #endif
      }
      

      file: qt5\qtwayland\src\client\qwaylandinputdevice.cpp

        Attachments

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes