--- a/webengine/osswebengine/WebCore/loader/CachedImage.cpp Thu Jul 15 19:53:20 2010 +0300
+++ b/webengine/osswebengine/WebCore/loader/CachedImage.cpp Thu Aug 19 10:58:56 2010 +0300
@@ -187,7 +187,8 @@
// Have the image update its data from its internal buffer.
// It will not do anything now, but will delay decoding until
// queried for info (like size or specific image frames).
- sizeAvailable = m_image->setData(m_data, allDataReceived);
+ if(m_image)
+ sizeAvailable = m_image->setData(m_data, allDataReceived);
// Go ahead and tell our observers to try to draw if we have either
// received all the data or the size is known. Each chunk from the