[Webkit-unassigned] [Bug 182271] [WPE][GTK] Heap use after free in RunLoop::TimerBase constructor lambda

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 30 04:40:34 PST 2018


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

Carlos Garcia Campos <cgarcia at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cgarcia at igalia.com

--- Comment #1 from Carlos Garcia Campos <cgarcia at igalia.com> ---
I think the problem is that the pending frame load is deleted inside the hysteresis callback. 

- markLoadAsCompleted() is called by hysteresis
- markLoadAsCompleted() ends up calling m_loadCompletionHandler()
- the completion handler removes the pending frame load from the map which deletes it.

The completion handler is the last thing done by markLoadAsCompleted(), so I'm not sure that's a problem. Could you try protecting this before calling m_loadCompletionHandler just in case?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180130/f22ddb4b/attachment-0001.html>


More information about the webkit-unassigned mailing list