Bug 187074 - eval() is wrong about the LiteralParser never throwing any exceptions.
Summary: eval() is wrong about the LiteralParser never throwing any exceptions.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Lam
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-06-26 17:49 PDT by Mark Lam
Modified: 2018-06-26 20:47 PDT (History)
6 users (show)

See Also:


Attachments
proposed patch. (2.89 KB, patch)
2018-06-26 17:59 PDT, Mark Lam
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Lam 2018-06-26 17:49:57 PDT
The LiteralParser may have thrown a StackOverflowError or OutOfMemoryError too.

<rdar://problem/41461099>
Comment 1 Mark Lam 2018-06-26 17:59:32 PDT
Created attachment 343667 [details]
proposed patch.
Comment 2 Saam Barati 2018-06-26 18:11:52 PDT
r=me
Comment 3 Mark Lam 2018-06-26 19:42:32 PDT
Comment on attachment 343667 [details]
proposed patch.

Thanks for the review. Landing now.
Comment 4 WebKit Commit Bot 2018-06-26 20:10:23 PDT
Comment on attachment 343667 [details]
proposed patch.

Clearing flags on attachment: 343667

Committed r233242: <https://trac.webkit.org/changeset/233242>
Comment 5 WebKit Commit Bot 2018-06-26 20:10:25 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2018-06-26 20:13:58 PDT
<rdar://problem/41504820>
Comment 7 Mark Lam 2018-06-26 20:47:58 PDT
<rdar://problem/41461099>