[Webkit-unassigned] [Bug 239353] [GTK] -Wuse-after-free in WebKitDOMDocumentGtk.cpp with GCC 12
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 13 14:39:38 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=239353
Michael Catanzaro <mcatanzaro at gnome.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mcatanzaro at gnome.org
--- Comment #1 from Michael Catanzaro <mcatanzaro at gnome.org> ---
(In reply to Michael Catanzaro from comment #0)
> Behind so many confusing layers like WTF::getPtr and WebKit::kit, it's a
> little unclear what's happening with the refcount, but it sure looks like
> have only one ref and return a dangling pointer.
What we're returning is actually a GObject from the DOMObjectCache, not the WebCore object. So the general pattern looks fine.
--
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/20220513/1ca8ccd6/attachment-0001.htm>
More information about the webkit-unassigned
mailing list