Bug 214062

Summary: [JSC] BytecodeGenerator should be robust against failed constant generation
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: New BugsAssignee: Yusuke Suzuki <ysuzuki>
Status: RESOLVED FIXED    
Severity: Normal CC: ews-watchlist, keith_miller, mark.lam, msaboff, saam, tzagallo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
saam: review+
Patch none

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].