0.9.5claws22
authorChristoph Hohmann <reboot@gmx.ch>
Sat, 20 Sep 2003 18:20:25 +0000 (18:20 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Sat, 20 Sep 2003 18:20:25 +0000 (18:20 +0000)
* src/compose.c
        add extra space for address code conversion
        (4 * unconvered size could be too small for short headers)

ChangeLog.claws
configure.ac
src/compose.c

index 9fe387989a8826e2fb2cffaf1a7b6f7ed2fe8920..2cbcf0d906d955971a5795583752310515b2ea22 100644 (file)
@@ -1,3 +1,9 @@
+2003-09-20 [christoph] 0.9.5claws22
+
+       * src/compose.c
+               add extra space for address code conversion
+               (4 * unconvered size could be too small for short headers)
+
 2003-09-20 [christoph] 0.9.5claws21
 
        * src/compose.c
index ab5cad07e3a608e1086a7a3379a74ec144628d9c..d1fe15876a78ae8fb9b7eaa83611c1058a59b02a 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=5
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=21
+EXTRA_VERSION=22
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
index 43ff0dc8efd6be8346c0cea4f2ad0c2ac2baaa7c..dc100b6d9b8a05d4ea1f8cd735f9e26f70d41b56 100644 (file)
@@ -4072,9 +4072,9 @@ static gint compose_write_headers_from_headerlist(Compose *compose,
        if (write_header) {
                gchar *buf;
 
-               buf = g_new0(gchar, headerstr->len * 4);
+               buf = g_new0(gchar, headerstr->len * 4 + 256);
                compose_convert_header
-                       (buf, headerstr->len * 4, headerstr->str,
+                       (buf, headerstr->len * 4  + 256, headerstr->str,
                        strlen(header) + 2, TRUE);
                fprintf(fp, "%s: %s\n", header, buf);
                g_free(buf);