Details
Description
Sending QNetworkRequest on singlethreaded WebAssembly build fails due to accessing header data through dangling pointer.
To reproduce:
QNetworkAccessManager manager; QNetworkRequest request(QUrl("https://www.geojs.io/docs/v1/endpoints/country/")); request.setRawHeader("Authorization", "xxxxx"); QNetworkReply *reply = manager.get(request);
Attachments
Issue Links
- relates to
-
QTBUG-124224 Need a patch for 6.5.2 from the fix of QTBUG-122893
- Closed
-
QTBUG-123146 Qt 6.6.2 WASM New Bugs
- Closed
For Gerrit Dashboard: QTBUG-122893 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
544314,3 | wasm: Dont access QNetworkReply header data through dangling pointer | dev | qt/qtbase | Status: MERGED | +2 | 0 |
547946,2 | wasm: Dont access QNetworkReply header data through dangling pointer | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |
548060,3 | wasm: Dont access QNetworkReply header data through dangling pointer | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
548490,2 | wasm: Dont access QNetworkReply header data through dangling pointer | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
548687,3 | wasm: Dont access QNetworkReply header data through dangling pointer | 6.7.0 | qt/qtbase | Status: MERGED | +2 | 0 |
548688,2 | wasm: Dont access QNetworkReply header data through dangling pointer | 6.6.3 | qt/qtbase | Status: MERGED | +2 | 0 |