DescriptionPrevent the WebPluginContainer being destroyed inside scriptableObject()
Current re-entrancy inside WebPluginContainer::scriptableObject can cause
the plugin to be deleted, as well as the WebPluginContainer. This can cause
UAFs. This change holds a reference to the plugin container to prevent it from
being destroyed while in the function. This also prevents the WebPlugin
associated with it from being destroyed since the lifetime of WebPlugin is
managed by the WebPluginContainer.
BUG=458776
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190700
Patch Set 1 #
Total comments: 2
Patch Set 2 : #
Total comments: 2
Messages
Total messages: 14 (3 generated)
|