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}
(cherry picked from commit c0f6017abb9aeb5ae1c8e137b6a3671305298b40)
Review-Url: https://codereview.chromium.org/2757043002 .
Cr-Commit-Position: refs/branch-heads/3029@{#279}
Cr-Branched-From: 939b32ee5ba05c396eef3fd992822fcca9a2e262-refs/heads/master@{#454471}
Committed: https://chromium.googlesource.com/chromium/src/+/bda1c548b6b3b69ee60244d49bf986b9e0f4617a
Patch Set 1 #
Messages
Total messages: 3 (1 generated)
|