DescriptionFix NavigationItem use-after-free crash in |-goToItemAtIndex:|
If a history navigation item occurs and the current NavigationItem is
transient item, it will get discarded in CRWSessionController's
|-discardTransientItem|. This CL updates history navigation logic to
store copies of the current NavigationItem's information before calling
any CRWSessionController code that might deallocate it.
BUG=700319
Review-Url: https://codereview.chromium.org/2745653007
Cr-Commit-Position: refs/heads/master@{#456190}
Committed: https://chromium.googlesource.com/chromium/src/+/c0f6017abb9aeb5ae1c8e137b6a3671305298b40
Patch Set 1 #Patch Set 2 : test fix #
Messages
Total messages: 12 (7 generated)
|