[Webkit-unassigned] [Bug 13623] New: Decompilation of function doesn't compile with "++(x, y)"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 8 01:38:48 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=13623

           Summary: Decompilation of function doesn't compile with "++(x,y)"
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Keywords: HasReduction
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jruderman at gmail.com


> f = function(){ ++(x,y) };
function () 
{
  ++x, y;
}

> eval("" + f)
SyntaxError: Parse error

I think the best way to avoid this "decompilation of a function fails to
compile" bug is to reject the initial function at compile time, like Firefox
does.

Found by jsfunfuzz.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list