DescriptionAvoid use-after-free when InterstitialPageImpl is being torn down.
The InterstitialPageNavigatorImpl was continuing to access parts
of a deleted WebContents (e.g., the NavigationController) after its
corresponding InterstitialPageImpl was disabled. This CL avoids
the problem by checking for the disabled state.
BUG=730592
TEST=NavigationHandleImpl crashes go away.
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Review-Url: https://codereview.chromium.org/2934353002
Cr-Commit-Position: refs/heads/master@{#479544}
Committed: https://chromium.googlesource.com/chromium/src/+/f1ead56e93a1db602c7cdcf2a569bf8e0f4a8e52
Patch Set 1 #Patch Set 2 : Also clear NavigationController reference. #
Messages
Total messages: 14 (10 generated)
|