diff options
author | dhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-09 01:26:13 +0000 |
---|---|---|
committer | dhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-09 01:26:13 +0000 |
commit | 414c3548c4f3e023a88226c6d113b77a07391671 (patch) | |
tree | 34510711f23dbfff498533d415fbaa3b648e8ca9 /sandbox/src/ipc_unittest.cc | |
parent | 4412ea3d167c68caef380348a54bb785ab38b933 (diff) | |
download | chromium_src-414c3548c4f3e023a88226c6d113b77a07391671.zip chromium_src-414c3548c4f3e023a88226c6d113b77a07391671.tar.gz chromium_src-414c3548c4f3e023a88226c6d113b77a07391671.tar.bz2 |
Use-after-free in PersonalDataManager destructor on Mac OS
Fixes issue in unit tests where the |personal_data_| references a |profile_| that is destroyed before the |personal_data_| is done with it. The |personal_data_| member performs actions in its destructor that uses the deleted |profile_|. The change here is to force the proper order of destruction by killing |personal_data_| prior to killing |profile_|. Also, the specific test PersonalDataManagerTest.AggregateProfileWithInsufficientAddress has been extended to properly wait and verify the loading of the web data before terminating.
BUG=72170
TEST=PersonalDataManagerTest.AggregateProfileWithInsufficientAddress
Review URL: http://codereview.chromium.org/6462005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74219 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox/src/ipc_unittest.cc')
0 files changed, 0 insertions, 0 deletions