WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
297157
Throw instead of crash on OOM in some String builtins
https://bugs.webkit.org/show_bug.cgi?id=297157
Summary
Throw instead of crash on OOM in some String builtins
Shu-yu Guo
Reported
2025-08-08 17:57:51 PDT
rdar://157756412
Where we can, as a best effort, we should throw OOMs instead of crashing when trying to construct strings that are too large.
Attachments
Add attachment
proposed patch, testcase, etc.
Shu-yu Guo
Comment 1
2025-08-08 19:11:39 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/49170
Shu-yu Guo
Comment 2
2025-08-08 19:52:14 PDT
<
rdar://problem/157756003
>
Shu-yu Guo
Comment 3
2025-08-08 19:52:35 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/49173
EWS
Comment 4
2025-08-08 21:11:15 PDT
Committed
298458@main
(e711a8e48a49): <
https://commits.webkit.org/298458@main
> Reviewed commits have been landed. Closing PR #49170 and removing active labels.
EWS
Comment 5
2025-08-08 21:13:27 PDT
Committed
298459@main
(95db096dfd5b): <
https://commits.webkit.org/298459@main
> Reviewed commits have been landed. Closing PR #49173 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug