[Webkit-unassigned] [Bug 164102] [Unix] PluginProcessProxy::scanPlugin should not parse stdout

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 2 07:55:12 PDT 2016


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

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> ---
This is weird, we spawn the process with G_SPAWN_STDERR_TO_DEV_NULL to ensure we don't end up with stderr in stdout, and then in the plugin process after the plugin is loaded and before calling NP_GetValue with NPPVpluginNameString and NPPVpluginDescriptionString and then NP_GetMIMEDescription we redirect stdout to devnull to avoid this from happening. "plugin loaded" message is called from NP_Initialize, so that should have been redirected to /dev/null. Unless StdoutDevNullRedirector is not really working, or we need some flush before deleting StdoutDevNullRedirector.

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


More information about the webkit-unassigned mailing list