[Webkit-unassigned] [Bug 141070] Crash in uninitialized deconstructing variable.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 30 14:08:48 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=141070

--- Comment #8 from Geoffrey Garen <ggaren at apple.com> ---
Comment on attachment 245734
  --> https://bugs.webkit.org/attachment.cgi?id=245734
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=245734&action=review

> Source/JavaScriptCore/parser/Parser.cpp:381
> +    TreeExpression varDecls = parseVarDeclarationList(context, scratch, scratch1, scratch2, scratch3, scratch3, scratch3, false);

When we write code like this, we either use an enumeration or we explicitly assign the boolean value to a named local variable. Otherwise, it's hard to know what the parameter means.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150130/880e49f7/attachment-0002.html>


More information about the webkit-unassigned mailing list