Patch for gnome-web-photo crash



Hi,

I can't find  bugzilla product for gnome-web-photo and configure.ac
links to this list, so here I am :-)

It looks like people are hitting this:
https://bugzilla.novell.com/show_bug.cgi?id=395920

I can't reproduce myself the bug, but the attached patch seems to fix it
for some people -- it's just initializing some memory.

Ok to commit?

Vincent

-- 
Les gens heureux ne sont pas pressés.
Index: gnome-web-photo-0.4/src/Writer.cpp
===================================================================
--- gnome-web-photo-0.4.orig/src/Writer.cpp
+++ gnome-web-photo-0.4/src/Writer.cpp
@@ -505,6 +505,7 @@ ThumbnailWriter::ThumbnailWriter(GtkMozE
 				 PRUint32 aSize)
 : Writer(aEmbed, aFilename)
 , mSize(aSize)
+, mData(NULL)
 {
   LOG ("ThumbnailWriter ctor\n");
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]