Bug 214062 - [JSC] BytecodeGenerator should be robust against failed constant generation
Summary: [JSC] BytecodeGenerator should be robust against failed constant generation
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Yusuke Suzuki
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-07-07 15:42 PDT by Yusuke Suzuki
Modified: 2020-07-07 21:36 PDT (History)
7 users (show)

See Also:


Attachments
Patch (5.14 KB, patch)
2020-07-07 15:45 PDT, Yusuke Suzuki
no flags Details | Formatted Diff | Diff
Patch (5.54 KB, patch)
2020-07-07 15:51 PDT, Yusuke Suzuki
saam: review+
Details | Formatted Diff | Diff
Patch (7.60 KB, patch)
2020-07-07 16:22 PDT, Yusuke Suzuki
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yusuke Suzuki 2020-07-07 15:42:57 PDT
[JSC] BigInt parsing in Parser/BytecodeGenerator can fail with OOM
Comment 1 Yusuke Suzuki 2020-07-07 15:45:41 PDT
Created attachment 403734 [details]
Patch
Comment 2 Yusuke Suzuki 2020-07-07 15:45:43 PDT
<rdar://problem/65117916>
Comment 3 Yusuke Suzuki 2020-07-07 15:51:05 PDT
Created attachment 403735 [details]
Patch
Comment 4 Saam Barati 2020-07-07 16:06:14 PDT
Comment on attachment 403735 [details]
Patch

r=me with the test case we discussed on slack
Comment 5 Yusuke Suzuki 2020-07-07 16:22:48 PDT
Created attachment 403741 [details]
Patch
Comment 6 EWS 2020-07-07 21:36:53 PDT
Committed r264059: <https://trac.webkit.org/changeset/264059>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 403741 [details].