commit | dd92bef34cee5449499eab61480d087203580532 | [log] [tgz] |
---|---|---|
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Jun 08 03:04:19 2011 +0900 |
committer | Qijiang Fan <fqj@google.com> | Thu Jun 04 11:29:23 2020 +0900 |
tree | 2b01cf500359d94b73496fb29f6a674016a89b59 | |
parent | 331e27bc75f6ab397d0461c0d0e091c2a6f34c81 [diff] |
Fix user-after-free error with ObserverList. The problem is that if an ObserverListBase::Iterator is on the stack and one of the observers deletes the object holding the list, Iterator's destructor will use the deleted list. BUG=84919 Review URL: http://codereview.chromium.org/7127001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88151 0039d316-1c4b-4281-b951-d872f2087c98 CrOS-Libchrome-Original-Commit: 5267bce031a63fe478d29534a0155f6aef49654c