diff options
author | Michal Klocek <michal.klocek@qt.io> | 2021-06-23 19:26:07 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2021-06-25 01:33:45 +0200 |
commit | a5e627160cf9a05ce0dd92e541d44b1861eb84c0 (patch) | |
tree | c936eb07d1dfb03879ad60806684223c59c50bc7 /tests/auto/widgets | |
parent | 7016622bc83be39949d8399ea4c2825a5e5e05ee (diff) |
Fix crashes on profile clearHttpCache
Destorying profile while clearCahceHttp is running ends badly.
Fix issue reported by address sanitizer:
=================================================================
==561623==ERROR: AddressSanitizer: global-buffer-overflow on address ....
#0 content::BrowserContext::GetBrowsingDataRemover(content::BrowserContext*)
#1 QtWebEngineCore::ProfileIODataQt::removeBrowsingDataRemoverObserver()
#2 QtWebEngineCore::BrowsingDataRemoverObserverQt::OnBrowsingDataRemoverDone(unsigned long)
#3 ontent::BrowsingDataRemoverImpl::~BrowsingDataRemoverImpl()
#5 std::default_delete<base::SupportsUserData::Data>::operator()(base::SupportsUserData::Data*)
===================================================================
Pick-to: 6.2 5.15
Change-Id: Ic021a5e4a0a841f3528cd77952493f4a627b81a6
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/auto/widgets')
0 files changed, 0 insertions, 0 deletions