+2008-09-05 [colin] 3.5.0cvs91
+
+ * src/procmime.c
+ Maybe fix bug 1711, 'Save-as attachment crashes'
+ Possibly wrong free() due to pointer shifting
+
2008-09-05 [colin] 3.5.0cvs90
* src/compose.c
( cvs diff -u -r 1.179.2.226 -r 1.179.2.227 src/imap.c; cvs diff -u -r 1.395.2.387 -r 1.395.2.388 src/summaryview.c; cvs diff -u -r 1.1.2.7 -r 1.1.2.8 src/common/tags.c; cvs diff -u -r 1.1.4.103 -r 1.1.4.104 src/etpan/imap-thread.c; cvs diff -u -r 1.1.4.24 -r 1.1.4.25 src/etpan/imap-thread.h; ) > 3.5.0cvs88.patchset
( cvs diff -u -r 1.395.2.388 -r 1.395.2.389 src/summaryview.c; ) > 3.5.0cvs89.patchset
( cvs diff -u -r 1.382.2.471 -r 1.382.2.472 src/compose.c; ) > 3.5.0cvs90.patchset
+( cvs diff -u -r 1.49.2.114 -r 1.49.2.115 src/procmime.c; ) > 3.5.0cvs91.patchset
param = params;
next = params;
for (; next != NULL; param = next) {
- gchar *attribute, *value, *tmp, *down_attr;
+ gchar *attribute, *value, *tmp, *down_attr, *orig_down_attr;
gint len;
gboolean convert = FALSE;
value++;
down_attr = g_utf8_strdown(attribute, -1);
-
+ orig_down_attr = down_attr;
+
len = strlen(down_attr);
if (down_attr[len - 1] == '*') {
gchar *srcpos, *dstpos, *endpos;
if (g_hash_table_lookup(table, down_attr) == NULL)
g_hash_table_insert(table, g_strdup(down_attr), g_strdup(value));
- g_free(down_attr);
+ g_free(orig_down_attr);
}
for (cur = concatlist; cur != NULL; cur = g_slist_next(cur)) {