Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a2ba2b6959dbba3345b8c931e297ec59fa57dc1d
https://github.com/WebKit/WebKit/commit/a2ba2b6959dbba3345b8c931e297ec59fa57dc1d
Author: Daniel Liu <[email protected]>
Date: 2024-11-12 (Tue, 12 Nov 2024)
Changed paths:
M
JSTests/wasm/stress/catch-should-keep-alive-inline-parent-expression-stack.js
M Source/JavaScriptCore/runtime/ErrorInstance.h
M Source/JavaScriptCore/wasm/WasmSlowPaths.cpp
Log Message:
-----------
Stack overflow and OOM should not be catchable from Wasm
https://bugs.webkit.org/show_bug.cgi?id=282959
rdar://139515612
Reviewed by Justin Michaud and Keith Miller.
According to both the old and new exception specs, stack overflow and
out of memory errors should not be catchable from WebAssembly `catch`
(or similar). However, the exceptions were still marked as catchable
from Wasm, meaning they could trigger incorrect handlers.
* JSTests/wasm/stress/catch-should-keep-alive-inline-parent-expression-stack.js:
(async test):
* Source/JavaScriptCore/runtime/ErrorInstance.h:
(JSC::ErrorInstance::setStackOverflowError):
(JSC::ErrorInstance::setOutOfMemoryError):
* Source/JavaScriptCore/wasm/WasmSlowPaths.cpp:
(JSC::LLInt::WASM_SLOW_PATH_DECL):
Canonical link: https://commits.webkit.org/286486@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes