diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2013-08-09 08:02:38 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-09 08:33:10 (GMT) |
commit | f35072ddd8e66862b1e5240276e86029e08b290b (patch) | |
tree | 8dbd898a761d77d2369811c5741653ff3eae2ee7 /src/3rdparty | |
parent | ce86061d9ffd2d0c9f84ff48d6d10fd4dcef8016 (diff) | |
download | Qt-f35072ddd8e66862b1e5240276e86029e08b290b.zip Qt-f35072ddd8e66862b1e5240276e86029e08b290b.tar.gz Qt-f35072ddd8e66862b1e5240276e86029e08b290b.tar.bz2 |
[WK1] NPStream::headers not initialized
https://bugs.webkit.org/show_bug.cgi?id=119574
Reviewed by Alexey Proskuryakov.
Initialize the header field. According to user feedback that should solve some
cases of random crashes when loading plugins on Mac and Windows.
* plugins/PluginStream.cpp:
(WebCore::PluginStream::PluginStream):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153828 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Task-number: QTBUG-32181
Change-Id: I45410e618cf0337ac1b2c8c4bafa572e8e1e0d19
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/3rdparty')
-rw-r--r-- | src/3rdparty/webkit/Source/WebCore/plugins/PluginStream.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/3rdparty/webkit/Source/WebCore/plugins/PluginStream.cpp b/src/3rdparty/webkit/Source/WebCore/plugins/PluginStream.cpp index efb0415..a267c00 100644 --- a/src/3rdparty/webkit/Source/WebCore/plugins/PluginStream.cpp +++ b/src/3rdparty/webkit/Source/WebCore/plugins/PluginStream.cpp @@ -76,6 +76,7 @@ PluginStream::PluginStream(PluginStreamClient* client, Frame* frame, const Resou m_stream.end = 0; m_stream.notifyData = 0; m_stream.lastmodified = 0; + m_stream.headers = 0; streams().add(&m_stream, m_instance); } |