Commit c761d436 authored by hausmann@webkit.org's avatar hausmann@webkit.org

Ariya Hidayat <ariya.hidayat@trolltech.com>

fix potential crash when loading image(s)

Crash may occur. If compiled with 4.3, the variable is not initialized.
This fix solves https://bugs.webkit.org/show_bug.cgi?id=17174


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31907 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent d95ff803
...@@ -132,6 +132,7 @@ QWebPagePrivate::QWebPagePrivate(QWebPage *qq) ...@@ -132,6 +132,7 @@ QWebPagePrivate::QWebPagePrivate(QWebPage *qq)
mainFrame = 0; mainFrame = 0;
#if QT_VERSION < 0x040400 #if QT_VERSION < 0x040400
networkInterface = 0; networkInterface = 0;
pluginFactory = 0;
#else #else
networkManager = 0; networkManager = 0;
pluginFactory = 0; pluginFactory = 0;
......
2008-04-15 Ariya Hidayat <ariya.hidayat@trolltech.com>
Reviewed by Simon.
fix potential crash when loading image(s)
Crash may occur. If compiled with 4.3, the variable is not initialized.
This fix solves https://bugs.webkit.org/show_bug.cgi?id=17174
* Api/qwebpage.cpp:
(QWebPagePrivate::QWebPagePrivate):
2008-04-15 Simon Hausmann <hausmann@webkit.org> 2008-04-15 Simon Hausmann <hausmann@webkit.org>
Reviewed by Holger. Reviewed by Holger.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment