Bug 192822

Summary: JSON.stringify() should throw OOM on StringBuilder overflows.
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: JavaScriptCoreAssignee: Mark Lam <mark.lam>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ews-watchlist, keith_miller, msaboff, saam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed patch. none

Description Mark Lam 2018-12-18 11:59:58 PST
<rdar://problem/46670577>
Comment 1 Mark Lam 2018-12-18 12:06:40 PST
Created attachment 357596 [details]
proposed patch.
Comment 2 Mark Lam 2018-12-18 13:57:38 PST
Comment on attachment 357596 [details]
proposed patch.

Thanks for the review.  Landing now.
Comment 3 WebKit Commit Bot 2018-12-18 14:24:41 PST
Comment on attachment 357596 [details]
proposed patch.

Clearing flags on attachment: 357596

Committed r239355: <https://trac.webkit.org/changeset/239355>
Comment 4 WebKit Commit Bot 2018-12-18 14:24:43 PST
All reviewed patches have been landed.  Closing bug.
Comment 5 Mark Lam 2018-12-18 16:03:17 PST
Landed a test fix in r239360: <http://trac.webkit.org/r239360>.