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

[REG: 6.3->6.4] wasm: Use after free due to pointer to temporary data being used

    XMLWordPrintable

Details

    • WebAssembly
    • 4d943068949ca2411ca69c902def9d7e7c826e44

    Description

      Looks like pointer to data held by a temporary object is begin stored here, which renders WebSockets unusable:

       attr->url = url.toString(QUrl::FullyEncoded).toUtf8().constData();
      

      https://code.qt.io/cgit/qt/qtwebsockets.git/tree/src/websockets/qwebsocket_wasm_p.cpp#n158

      Attachments

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

        Activity

          People

            lpotter Lorn Potter
            poikelin Joni Poikelin
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes