Bug 159828 - FunctionOverride's parseClause() needs to keep the CString instance in scope while its data is being used.
Summary: FunctionOverride's parseClause() needs to keep the CString instance in scope ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Lam
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-15 13:52 PDT by Mark Lam
Modified: 2016-07-15 14:17 PDT (History)
4 users (show)

See Also:


Attachments
proposed patch. (1.42 KB, patch)
2016-07-15 13:56 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 2016-07-15 13:52:43 PDT
Otherwise, we'll have a use after free.
Comment 1 Mark Lam 2016-07-15 13:56:43 PDT
Created attachment 283788 [details]
proposed patch.
Comment 2 WebKit Commit Bot 2016-07-15 14:17:51 PDT
Comment on attachment 283788 [details]
proposed patch.

Clearing flags on attachment: 283788

Committed r203299: <http://trac.webkit.org/changeset/203299>
Comment 3 WebKit Commit Bot 2016-07-15 14:17:55 PDT
All reviewed patches have been landed.  Closing bug.