diff options
author | Viktor Engelmann <viktor.engelmann@qt.io> | 2016-09-15 15:44:15 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2016-09-19 08:21:26 +0000 |
commit | 2057634462750fc7a6157600509044564c2f47fd (patch) | |
tree | bf3b296143e88f3f714f4521601f8bfcaebbbc56 /src/webenginewidgets/doc/snippets/qtwebengine_qwebenginepage_snippet.cpp | |
parent | 9c0bd9207560e36e7bad3657e02305aabd7638b9 (diff) | |
download | qtwebengine-2057634462750fc7a6157600509044564c2f47fd.tar.gz |
Fix dangling pointer problem
Turn the raw pointer
ResourceDispatcherHostLoginDelegateQt::m_authInfo
into a scoped_refptr, to prevent chromium from freeing the memory,
which caused this pointer to dangle and SEGFAULT upon later usage.
Task-number: QTBUG-55828
Change-Id: Ib57e89ca042a4494e2ab77ea10328495e6fc1431
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'src/webenginewidgets/doc/snippets/qtwebengine_qwebenginepage_snippet.cpp')
0 files changed, 0 insertions, 0 deletions