diff --git a/WebKit/qt/Api/qwebpage.cpp b/WebKit/qt/Api/qwebpage.cpp index 9a1621a29dd7f79241b440ca19767c3db19dae8d..5f6d9653cd6e8017a1d4a9c1d13f6103e44bbaf4 100644 --- a/WebKit/qt/Api/qwebpage.cpp +++ b/WebKit/qt/Api/qwebpage.cpp @@ -132,6 +132,7 @@ QWebPagePrivate::QWebPagePrivate(QWebPage *qq) mainFrame = 0; #if QT_VERSION < 0x040400 networkInterface = 0; + pluginFactory = 0; #else networkManager = 0; pluginFactory = 0; diff --git a/WebKit/qt/ChangeLog b/WebKit/qt/ChangeLog index ae3789c6c4de683d39002b2bb4a4cc1112925fc5..600f159fb78350d47d7f93e13dcf3ae40787193a 100644 --- a/WebKit/qt/ChangeLog +++ b/WebKit/qt/ChangeLog @@ -1,3 +1,15 @@ +2008-04-15 Ariya Hidayat + + 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 Reviewed by Holger.