Chromium Code Reviews
DescriptionFix use-after-free when navigating a subframe to about:blank.
Navigation to about:blank is a synchronous navigation. If the parent frame
has registered load event handler for the frame and removes it from the
DOM, it will result in RenderFrame being deleted while still being on the
stack. This CL is fixing this by returning immediately if the object is
destructed as part of the navigation.
BUG=571166, 591341
Committed: https://crrev.com/13b8e77d00895fd3d24aaef7f32eeb4adb68a080
Cr-Commit-Position: refs/heads/master@{#379060}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Fixes based on Daniel's review. #
Total comments: 1
Messages
Total messages: 12 (4 generated)
|
|||||||||||||||||||||||||||||||||||||