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

Potential use-after-free in qClipboardPasteTo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 6.5.0
    • 6.4.0, 6.4.1, 6.5
    • Core: Other
    • None
    • WebAssembly
    • 4673f0027 (dev)

      qClipboardPasteTo:
      Line 87: QMimeData *mMimeData = new QMimeData;
      Line 137 and line 143: qWasmClipboardPaste(mMimeData);
       
      If anyone calls QPlatformClipboard::setMimeData between these calls (when file hasn't streamed yet in the file handling loop), the mMimeData will have been deleted before the second access.

        For Gerrit Dashboard: QTBUG-108841
        # Subject Branch Project Status CR V

            mikolaj.boc Mikołaj Boc (Inactive)
            mikolaj.boc Mikołaj Boc (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes