[Webkit-unassigned] [Bug 13513] New: 3 easy ways to crash Safari using console.log

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 26 15:55:11 PDT 2007


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

           Summary: 3 easy ways to crash Safari using console.log
           Product: WebKit
           Version: 419.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: phil.crosby at gmail.com


<html><head>

<script>
// Other logging apis support multiple arguments to log. Safari doesn't
// accept multiple arguments, but segfaults if you try more than one.
console.log(1,2);
</script>

</head><body/></html>



<html><head>

<script>
// why does this alias cause a crash?
log=console.log;
log("hey");
</script>

</head><body/></html>



<html><head>

<script>
// This happens often, e.g. if I mistakenly tried to log
// "document.head" (also undefined). Sometimes it just
// makes the logging window into a zombie, where it's non-responsive.
// Other times it crashes Safari
console.log(undefined);
</script>

</head><body/></html>


-- 
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