Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a1306c500f0bfe6c5b5b7a5b209b6286bef54977
https://github.com/WebKit/WebKit/commit/a1306c500f0bfe6c5b5b7a5b209b6286bef54977
Author: Fady Farag <[email protected]>
Date: 2026-08-19 (Wed, 19 Aug 2026)
Changed paths:
M Source/WebCore/bindings/js/WebAssemblyScriptBufferSourceProvider.h
Log Message:
-----------
Use-after-move in `WebAssemblyScriptBufferSourceProvider::create()`
https://bugs.webkit.org/show_bug.cgi?id=322153
rdar://185374718
Reviewed by Yusuke Suzuki.
ISO C++ does not guarantee the evaluation order of function arguments.
The constructor call here both moved `sourceURL` and read it via
`sourceURL.string()`, so the use and the move were unsequenced.
* Source/WebCore/bindings/js/WebAssemblyScriptBufferSourceProvider.h:
Canonical link:
https://flagged.apple.com:443/proxy?t2=Dz0E1T5YT4&o=aHR0cHM6Ly9jb21taXRzLndlYmtpdC5vcmcvMzE5NDk2QG1haW4=&emid=fb32b5d6-fa19-4e08-800d-b97265675e6e&c=11
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications