[Webkit-unassigned] [Bug 53899] [Chromium][DRT] some PostDelayedTask() accesses possibly dangling this pointer.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 9 00:51:41 PST 2011


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





--- Comment #1 from Kent Tamura <tkent at chromium.org>  2011-02-09 00:51:41 PST ---
(In reply to comment #0)
> In WebViewHost, there are several calls like: 
>     webkit_support::PostDelayedTask(invokeFinishLastTextCheck, static_cast<void*>(this), 0);
> But this is not safe when |this| object is deleted before the task callback is invoked.

Yes.  In that case, we had better use DumpRenderTree/chromium/Taks.h instead of the bare PostDelayedTask().

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