Bug 152522 - jsc CLI tool crashes on EOF.
Summary: jsc CLI tool crashes on EOF.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-22 18:57 PST by Andreas Kling
Modified: 2015-12-23 18:17 PST (History)
5 users (show)

See Also:


Attachments
Patch (3.17 KB, patch)
2015-12-22 18:58 PST, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2015-12-22 18:57:27 PST
There's a crash below SourceProvider::hash() if you press ctrl+d in the jsc CLI tool.
Comment 1 Andreas Kling 2015-12-22 18:58:38 PST
Created attachment 267822 [details]
Patch

Don't know how to test this. Passing a nil string to the ObjC API, or a NULL string to the C API both fail before getting this far.
Comment 2 WebKit Commit Bot 2015-12-23 18:17:28 PST
Comment on attachment 267822 [details]
Patch

Clearing flags on attachment: 267822

Committed r194409: <http://trac.webkit.org/changeset/194409>
Comment 3 WebKit Commit Bot 2015-12-23 18:17:32 PST
All reviewed patches have been landed.  Closing bug.