[Webkit-unassigned] [Bug 21225] New: Machine::retrieveLastCaller should check for a NULL codeBlock

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 29 17:28:06 PDT 2008


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

           Summary: Machine::retrieveLastCaller should check for a NULL
                    codeBlock
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ggaren at apple.com
                CC: kmccullough at apple.com


Machine::retrieveLastCaller reads a CodeBlock out of the register file without
checking for NULL. Since CodeBlocks in the register file can be NULL, it should
check.

I thought you could crash this code through something like
"console.log.call(console, 'hello world')", but that doesn't quite do it.
Still, we should just be safe and check for NULL.


-- 
Configure bugmail: https://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