DescriptionEarly return from WebPluginContainerImpl::scriptableObject if the plugin gets destroyed
WebPluginContainerImpl::scriptableObject calls into WebPlugin::scriptableObject
which (in the PepperWebPluginImpl implementation) sends synchronous messages
to the plugin which can result in re-entrancy. This re-entrancy may cause the
plugin to be destroyed, which sets m_webPlugin to null in
WebPluginContainerImpl::dispose. We need to check for a null value to avoid
dereferencing a null pointer.
BUG=423263
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185182
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|