Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3e4d37cbb0a2ec3d9b7bab8474137ef5f51e2da9
https://github.com/WebKit/WebKit/commit/3e4d37cbb0a2ec3d9b7bab8474137ef5f51e2da9
Author: Yusuke Suzuki <[email protected]>
Date: 2022-10-31 (Mon, 31 Oct 2022)
Changed paths:
A JSTests/stress/string-substring-oom.js
M Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp
Log Message:
-----------
[JSC] StringSubstring can throw OOM
https://bugs.webkit.org/show_bug.cgi?id=247272
rdar://101235545
Reviewed by Mark Lam.
Since StringSubstring can throw OOM, we should check exception after
callOperation.
* JSTests/stress/string-substring-oom.js: Added.
(foo):
* Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compileStringSubstring):
Canonical link: https://commits.webkit.org/256169@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes