Bug 154244 - Parser::parseVariableDeclarationList should null check the node before attempting to create a new CommaExpr
Summary: Parser::parseVariableDeclarationList should null check the node before attemp...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Filip Pizlo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-15 08:43 PST by Filip Pizlo
Modified: 2016-02-15 12:09 PST (History)
5 users (show)

See Also:


Attachments
the patch (3.46 KB, patch)
2016-02-15 08:45 PST, Filip Pizlo
msaboff: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2016-02-15 08:43:49 PST
It's possible that en entry in the variable declaration list doesn't have a node.  We don't want to create a comma expression with a null next.
Comment 1 Filip Pizlo 2016-02-15 08:45:37 PST
Created attachment 271343 [details]
the patch
Comment 2 Michael Saboff 2016-02-15 08:49:48 PST
Comment on attachment 271343 [details]
the patch

r=me
Comment 3 Filip Pizlo 2016-02-15 12:09:23 PST
Landed in http://trac.webkit.org/changeset/196587