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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 11 03:10:32 PST 2010


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





--- Comment #4 from yi shen <yi.4.shen at nokia.com>  2010-11-11 03:10:32 PST ---
(In reply to comment #2)
> (From update of attachment 73536 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=73536&action=review
> 
> > WebKit/qt/Api/qwebscriptworld.cpp:53
> > +    return d.data() ? d->world.get() : NULL;
> 
> huh? how does world depend on data() ? Also we do not use NULL in C++ code.

Thanks, you are right. I updated my patch, which returns 0 when the internal pointer to the shared data object is not null.

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