Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0582309eda9989e76606df89f4ef9ed201f77766
https://github.com/WebKit/WebKit/commit/0582309eda9989e76606df89f4ef9ed201f77766
Author: Dylan Conway <[email protected]>
Date: 2025-05-06 (Tue, 06 May 2025)
Changed paths:
A JSTests/stress/bigint-oom-import.js
A JSTests/stress/import-tests/bigint-oom.js
M Source/JavaScriptCore/runtime/JSModuleRecord.cpp
M Source/JavaScriptCore/runtime/ModuleProgramExecutable.cpp
M Source/JavaScriptCore/runtime/ModuleProgramExecutable.h
Log Message:
-----------
[JSC] `ModuleProgramExecutable::create` exception check
https://bugs.webkit.org/show_bug.cgi?id=292338
Reviewed by Yusuke Suzuki.
Importing a large enough bigint literal can throw during
bytecode generation (I think strings too). A check is
needed.
* JSTests/stress/bigint-oom-import.js: Added.
(shouldThrowAsync):
* JSTests/stress/import-tests/bigint-oom.js: Added.
* Source/JavaScriptCore/runtime/JSModuleRecord.cpp:
(JSC::JSModuleRecord::link):
* Source/JavaScriptCore/runtime/ModuleProgramExecutable.cpp:
(JSC::ModuleProgramExecutable::create):
Canonical link: https://commits.webkit.org/294578@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