Changeset 88867 in webkit


Ignore:
Timestamp:
Jun 14, 2011, 4:06:52 PM (14 years ago)
Author:
Lucas Forschler
Message:

Merge r88647.

Location:
branches/safari-534-branch/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-534-branch/Source/WebKit2/ChangeLog

    r88863 r88867  
     12011-06-14  Lucas Forschler  <lforschler@apple.com>
     2
     3    Merged 88647.
     4
     5    2011-06-13  Anders Carlsson  <andersca@apple.com>
     6
     7        Reviewed by Dan Bernstein.
     8
     9        Don't access freed memory in the UI process when a plug-in process crashes
     10        https://bugs.webkit.org/show_bug.cgi?id=62548
     11
     12        Call pluginProcessCrashedOrFailedToLaunch after sending messages to all processes about the plug-in crash,
     13        otherwise we'll try to dereference m_pluginInfo.path after the PluginProcessProxy object has been deleted.
     14
     15        * UIProcess/Plugins/PluginProcessProxy.cpp:
     16        (WebKit::PluginProcessProxy::didClose):
     17
    1182011-06-14  Lucas Forschler  <lforschler@apple.com>
    219
  • branches/safari-534-branch/Source/WebKit2/UIProcess/Plugins/PluginProcessProxy.cpp

    r85569 r88867  
    168168#endif
    169169
    170     pluginProcessCrashedOrFailedToLaunch();
    171 
    172170    const Vector<WebContext*>& contexts = WebContext::allContexts();
    173171    for (size_t i = 0; i < contexts.size(); ++i)
    174172        contexts[i]->sendToAllProcesses(Messages::WebProcess::PluginProcessCrashed(m_pluginInfo.path));
     173
     174    // This will cause us to be deleted.
     175    pluginProcessCrashedOrFailedToLaunch();
    175176}
    176177
Note: See TracChangeset for help on using the changeset viewer.