--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package claws-mail
A segfault has been reported against current testing version.
This upload includes the one-line patch which fixes it.
Full debdiff attached.
Thanks in advance,
unblock claws-mail/3.11.1-3
--
Ricardo Mones
~
Absence of evidence is not evidence of absence. Carl Sagan
diff -Nru claws-mail-3.11.1/debian/changelog claws-mail-3.11.1/debian/changelog
--- claws-mail-3.11.1/debian/changelog 2014-11-29 23:11:52.000000000 +0100
+++ claws-mail-3.11.1/debian/changelog 2014-12-04 17:48:42.000000000 +0100
@@ -1,3 +1,10 @@
+claws-mail (3.11.1-3) unstable; urgency=medium
+
+ * patches/15fix_crash_open_folder.patch, patches/series
+ - Fix segfault trying to open a folder (Closes: #771737)
+
+ -- Ricardo Mones <mones@debian.org> Thu, 04 Dec 2014 17:41:37 +0100
+
claws-mail (3.11.1-2) unstable; urgency=high
* patches/14CVE_2010_5109.patch, patches/series
diff -Nru claws-mail-3.11.1/debian/patches/15fix_crash_open_folder.patch claws-mail-3.11.1/debian/patches/15fix_crash_open_folder.patch
--- claws-mail-3.11.1/debian/patches/15fix_crash_open_folder.patch 1970-01-01 01:00:00.000000000 +0100
+++ claws-mail-3.11.1/debian/patches/15fix_crash_open_folder.patch 2014-12-04 17:48:42.000000000 +0100
@@ -0,0 +1,19 @@
+Description: Be sure strlen is not given a NULL name
+Author: Ricardo Mones <mones@debian.org>
+Bug-Debian: https://bugs.debian.org/771737
+Applied-Upstream: commit:572802d05824402bdb55ebd149f4e2d21d8230f7
+Last-Update: 2014-12-04
+
+diff --git a/src/addr_compl.c b/src/addr_compl.c
+index c6a1795..4ca55d5 100644
+--- a/src/addr_compl.c
++++ b/src/addr_compl.c
+@@ -183,7 +183,7 @@ static gint addr_completion_func(const gchar *needle, const gchar *haystack,
+ */
+ static gint weight_addr_match(const address_entry* addr)
+ {
+- gint n_weight = strlen(addr->name);
++ gint n_weight = addr->name ? strlen(addr->name): 0;
+ gint a_weight = addr->address ? strlen(addr->address) : n_weight;
+ gchar* match = NULL;
+
diff -Nru claws-mail-3.11.1/debian/patches/series claws-mail-3.11.1/debian/patches/series
--- claws-mail-3.11.1/debian/patches/series 2014-11-29 23:11:52.000000000 +0100
+++ claws-mail-3.11.1/debian/patches/series 2014-12-04 17:48:42.000000000 +0100
@@ -2,3 +2,4 @@
12fix_manpage_header.patch
13desktop_file_categories.patch
14CVE_2010_5109.patch
+15fix_crash_open_folder.patch
--- End Message ---