[Webkit-unassigned] [Bug 49342] New: QWebScriptWorld::world() may crash

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 10 13:49:11 PST 2010


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

           Summary: QWebScriptWorld::world() may crash
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yi.4.shen at nokia.com


It might be trivial but we'd better check the value of the private data in the QWebScriptWorld::world() to prevent the possible crash -- 'd' may have an empty data if USE(JSC) is undefined for some platform.

QWebScriptWorld::QWebScriptWorld()
{
#if USE(JSC) // d can have an empty data if this macro fails
    d = new QWebScriptWorldPrivate(ScriptController::createWorld());    
#endif
}

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



More information about the webkit-unassigned mailing list