DescriptionFixed use-after-free in LoadCallback in bookmark_storage.cc
BookmarkStorage isn't ref counted anymore since
https://codereview.chromium.org/370323002, and the LoadCallback() task
now gets a WeakPtr to the owning BookmarkStorage. However, it gets a
raw pointer to the BookmarkLoadDetails object, which is still owned
by BookmarkStorage and may have been destroyed when the background
task runs.
This happened on iOS tests after a recent merge.
TBR=sky@chromium.org
BUG=165760
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281830
Patch Set 1 #
Messages
Total messages: 9 (0 generated)
|