[Webkit-unassigned] [Bug 280150] [GTK] Crash on inputting booking field on IRCTC website in ScriptMessageClientGtk::didPostMessage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 24 20:11:58 PDT 2024


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

--- Comment #3 from Akarshan Biswas <akarshan.biswas at hotmail.com> ---
If my understanding is correct, it is indeed  declared as a raw pointer here: https://github.com/WebKit/WebKit/blob/8bac10aa5b34def64db6d3d3cdabd4f75482b42c/Source/WebKit/UIProcess/API/glib/WebKitUserContentManager.cpp#L437 

Maybe using a smart pointer like [GRefPtr](https://trac.webkit.org/wiki/GRefPtr) will ensure its proper memory management?


I am sure if g_signal_emit() expects a raw pointer, we can pass it as m_manager.get()


How that raw pointer will handle after being passed to the g_signal_emit(), I have no idea tbh, so I won't comment further.

-- 
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/20240925/7374adaf/attachment.htm>


More information about the webkit-unassigned mailing list