r12934 - in /packages/unstable/glabels/debian: changelog patches/01_null_strlen.patch

joss at users.alioth.debian.org joss at users.alioth.debian.org
Mon Oct 1 10:52:32 UTC 2007


Author: joss
Date: Mon Oct  1 10:52:32 2007
New Revision: 12934

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=12934
Log:
* 01_null_strlen.patch: fix strlen(NULL) causing segmentation fault.
  Closes: #444822.

Added:
    packages/unstable/glabels/debian/patches/01_null_strlen.patch
Modified:
    packages/unstable/glabels/debian/changelog

Modified: packages/unstable/glabels/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/glabels/debian/changelog?rev=12934&op=diff
==============================================================================
--- packages/unstable/glabels/debian/changelog (original)
+++ packages/unstable/glabels/debian/changelog Mon Oct  1 10:52:32 2007
@@ -1,3 +1,10 @@
+glabels (2.1.3-3) unstable; urgency=low
+
+  * 01_null_strlen.patch: fix strlen(NULL) causing segmentation fault.
+    Closes: #444822.
+
+ -- Josselin Mouette <joss at debian.org>  Mon, 01 Oct 2007 12:45:28 +0200
+
 glabels (2.1.3-2) unstable; urgency=low
 
   [ Kilian Krause ]

Added: packages/unstable/glabels/debian/patches/01_null_strlen.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/glabels/debian/patches/01_null_strlen.patch?rev=12934&op=file
==============================================================================
--- packages/unstable/glabels/debian/patches/01_null_strlen.patch (added)
+++ packages/unstable/glabels/debian/patches/01_null_strlen.patch Mon Oct  1 10:52:32 2007
@@ -1,0 +1,11 @@
+--- src/wdgt-media-select.c.orig	2007-10-01 12:42:50.553715770 +0200
++++ src/wdgt-media-select.c	2007-10-01 12:44:28.307286428 +0200
+@@ -381,7 +381,7 @@
+ 	/* Update mini_preview canvas & details with template */
+ 	gl_debug (DEBUG_MEDIA_SELECT, "template_combo = %p", combo);
+ 	name = gtk_combo_box_get_active_text (GTK_COMBO_BOX (combo));
+-	if ( strlen(name) ) {
++	if ( name && strlen(name) ) {
+ 		gl_debug (DEBUG_MEDIA_SELECT, "name = \"%s\"", name);
+ 		gl_wdgt_mini_preview_set_label_by_name (GL_WDGT_MINI_PREVIEW (media_select->mini_preview),
+ 							name);




More information about the pkg-gnome-commits mailing list