Bug 154244

Summary: Parser::parseVariableDeclarationList should null check the node before attempting to create a new CommaExpr
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: JavaScriptCoreAssignee: Filip Pizlo <fpizlo>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, keith_miller, mark.lam, msaboff, saam
Priority: P2    
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
the patch msaboff: review+

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