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

null pointer dereferenced in QNetworkReplyWasmImplPrivate::setCanceled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • None
    • 6.7.0
    • Network
    • None
    • WebAssembly

    Description

      While trying to run the minimal_map example using Qt 6.7.0 for WebAssembly, I see null pointer dereferences of m_fetch in QNetworkReplyWasmImplPrivate::setCanceled:

      void QNetworkReplyWasmImplPrivate::setCanceled()
      {
          Q_Q(QNetworkReplyWasmImpl);
          m_fetch->userData = nullptr;
      
         emitReplyError(....
      

      Presumably needs to be surrounded with an if (m_fetch).

      Attachments

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

        Activity

          People

            qt.webassembly qt.webassembly
            srcejon Jon Beniston
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes