Changeset 232872 in webkit


Ignore:
Timestamp:
Jun 15, 2018 9:03:43 AM (6 years ago)
Author:
commit-queue@webkit.org
Message:

[GTK][WPE]: Avoid using uninitialized launchOptions in getLaunchOptions
https://bugs.webkit.org/show_bug.cgi?id=185611

Patch by Thibault Saunier <tsaunier@igalia.com> on 2018-06-15
Reviewed by Chris Dumez.

Otherwise we might segfault.

  • UIProcess/Plugins/PluginProcessProxy.cpp:

(WebKit::PluginProcessProxy::getLaunchOptions):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r232863 r232872  
     12018-06-15  Thibault Saunier  <tsaunier@igalia.com>
     2
     3        [GTK][WPE]: Avoid using uninitialized launchOptions in getLaunchOptions
     4        https://bugs.webkit.org/show_bug.cgi?id=185611
     5
     6        Reviewed by Chris Dumez.
     7
     8        Otherwise we might segfault.
     9
     10        * UIProcess/Plugins/PluginProcessProxy.cpp:
     11        (WebKit::PluginProcessProxy::getLaunchOptions):
     12
    1132018-06-14  Youenn Fablet  <youenn@apple.com>
    214
  • trunk/Source/WebKit/UIProcess/Plugins/PluginProcessProxy.cpp

    r232176 r232872  
    8989void PluginProcessProxy::getLaunchOptions(ProcessLauncher::LaunchOptions& launchOptions)
    9090{
     91    platformGetLaunchOptions(launchOptions, m_pluginProcessAttributes);
    9192    ChildProcessProxy::getLaunchOptions(launchOptions);
    92     platformGetLaunchOptions(launchOptions, m_pluginProcessAttributes);
    9393}
    9494
Note: See TracChangeset for help on using the changeset viewer.