aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-08-31 01:20:19 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-08-31 01:20:19 +0000
commitbe7aeac3e81ef1c4b86b78d08a387e99610f5589 (patch)
treef6b673d2b6920b917ed367096ddd57f26f51e271
parentb1ccf6f3c064d304bfe18756adcd1f55bff9b30c (diff)
fixed another format string bug in address completion.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1885 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog9
-rw-r--r--ChangeLog.ja9
-rw-r--r--NEWS1
-rw-r--r--configure.in2
-rw-r--r--src/addr_compl.c2
5 files changed, 21 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 32443fbd..30291054 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2007-08-31
+
+ * version 2.4.5
+
+2007-08-31
+
+ * src/addr_compl.c: get_complete_address(): fixed another format
+ string bug in address completion (thanks to Megaman 9703).
+
2007-08-23
* src/compose.c: compose_is_itemized(): also don't join '--'.
diff --git a/ChangeLog.ja b/ChangeLog.ja
index 7f7db0d0..23b00072 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,3 +1,12 @@
+2007-08-31
+
+ * version 2.4.5
+
+2007-08-31
+
+ * src/addr_compl.c: get_complete_address(): アドレス補完に別の
+ フォーマット文字列バグがあったのを修正(Megaman 9703 さん thanks)。
+
2007-08-23
* src/compose.c: compose_is_itemized(): '--' も結合しないようにした。
diff --git a/NEWS b/NEWS
index 933c6fa5..8e45074e 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,7 @@ Changes of Sylpheed
* The vulnerability that may be exploited by malicious POP3 server was
fixed.
+ * The potential crash bug in address completion was fixed.
* The signature separator '--' is not joined on line wrapping now.
* Win32: GLib and GTK+ was updated to the latest version.
* Win32: The focus problem when closing dialogs was fixed (GTK+).
diff --git a/configure.in b/configure.in
index c24114a3..5652ffb1 100644
--- a/configure.in
+++ b/configure.in
@@ -6,7 +6,7 @@ PACKAGE=sylpheed
dnl version number
MAJOR_VERSION=2
MINOR_VERSION=4
-MICRO_VERSION=4
+MICRO_VERSION=5
INTERFACE_AGE=0
BINARY_AGE=0
EXTRA_VERSION=
diff --git a/src/addr_compl.c b/src/addr_compl.c
index 5fbdad8b..908b338e 100644
--- a/src/addr_compl.c
+++ b/src/addr_compl.c
@@ -410,7 +410,7 @@ gchar *get_complete_address(gint index)
(completion_addresses, index - 1);
if (p != NULL) {
if (!p->name || p->name[0] == '\0')
- address = g_strdup_printf(p->address);
+ address = g_strdup(p->address);
else if (p->name[0] != '"' &&
strpbrk(p->name, ",.[]<>") != NULL)
address = g_strdup_printf