severity 325124 grave tags 325124 + patch thanks Grave, since it always segfaults if you go the default way: After startup, just enter url and press enter -> segfault
I attach a patch that fixes this for sarge (and maybe sid too) (for the upcoming mozilla security fix). Please be prepared to upload the new version to stable-proposed-updates as soon as the next mozilla security update lands. I will ping you to remind you as soon as mozilla went in. Note: Maybe ask upstream about a better fix. This patch is a minimal approach suitable for sarge. Comments welcome. -- GPG messages preferred. | .''`. ** Debian GNU/Linux ** Alexander Sack | : :' : The universal [EMAIL PROTECTED] | `. `' Operating System http://www.asoftsite.org | `- http://www.debian.org
diff -uwr src.orig/mozilla/kz-mozembed.cpp src/mozilla/kz-mozembed.cpp --- kazehakase.orig/src/mozilla/kz-mozembed.cpp 2005-06-30 15:50:53.000000000 +0200 +++ kazehakase/src/mozilla/kz-mozembed.cpp 2005-08-31 23:32:41.410770191 +0200 @@ -527,7 +528,7 @@ // After "about:balnk" was loaded, the first url start to load. if (url) priv->first_url = g_strdup(url); - //kz_moz_embed_load_url(KZ_EMBED(kzembed), url); + kz_moz_embed_load_url(KZ_EMBED(kzembed), url); return GTK_WIDGET(kzembed); } @@ -943,6 +948,10 @@ { KzMozEmbedPrivate *priv = KZ_MOZ_EMBED_GET_PRIVATE (kzembed); + if(!priv->wrapper) { + return; + } + gboolean create_thumbnail = FALSE, store_cache = TRUE; KZ_CONF_GET("Global", "create_thumbnail", create_thumbnail, BOOL); KZ_CONF_GET("History", "store_cache", store_cache, BOOL);