[Webkit-unassigned] [Bug 194370] [WPE][GTK] Unsafe g_unsetenv() use in WebProcessPool::platformInitialize
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 7 07:44:33 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=194370
--- Comment #2 from Michael Catanzaro <mcatanzaro at igalia.com> ---
(In reply to Carlos Garcia Campos from comment #1)
> I don't think there's anything unsafe in that.
I think we've discussed this before, but for reference: it can crash if a secondary thread is calling getenv(), and getenv() is used everywhere. setenv/unsetenv is really, really dangerous. It's impossible to use safely in WebProcessPoolGtk.cpp because applications can create new WebKitWebContext objects after creating secondary threads.
--
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/20190207/367cfd28/attachment.html>
More information about the webkit-unassigned
mailing list