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+

Filip Pizlo
Reported 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.
Attachments
the patch (3.46 KB, patch)
2016-02-15 08:45 PST, Filip Pizlo
msaboff: review+
Filip Pizlo
Comment 1 2016-02-15 08:45:37 PST
Created attachment 271343 [details] the patch
Michael Saboff
Comment 2 2016-02-15 08:49:48 PST
Comment on attachment 271343 [details] the patch r=me
Filip Pizlo
Comment 3 2016-02-15 12:09:23 PST
Note You need to log in before you can comment on or make changes to this bug.