* src/imap.c
Fix bug 934, 'sylpheed claws 2.1
doesn't show Exchanges Public Folders'
Thanks to Hoa and Colin
* src/msgcache.c
Refuse to allocate more than 2 MB for a
single field, it's a good indication of
cache corruption.
+2007-01-05 [paul] 2.6.1cvs110
+
+ * src/imap.c
+ Fix bug 934, 'sylpheed claws 2.1
+ doesn't show Exchanges Public Folders'
+ Thanks to Hoa and Colin
+ * src/msgcache.c
+ Refuse to allocate more than 2 MB for a
+ single field, it's a good indication of
+ cache corruption.
+
2007-01-05 [colin] 2.6.1cvs109
* src/mainwindow.c
( cvs diff -u -r 1.3.2.10 -r 1.3.2.11 src/common/quoted-printable.c; ) > 2.6.1cvs107.patchset
( cvs diff -u -r 1.3.2.11 -r 1.3.2.12 src/common/quoted-printable.c; ) > 2.6.1cvs108.patchset
( cvs diff -u -r 1.274.2.159 -r 1.274.2.160 src/mainwindow.c; ) > 2.6.1cvs109.patchset
+( cvs diff -u -r 1.179.2.145 -r 1.179.2.146 src/imap.c; cvs diff -u -r 1.16.2.48 -r 1.16.2.49 src/msgcache.c; ) > 2.6.1cvs110.patchset
MICRO_VERSION=1
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=109
+EXTRA_VERSION=110
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
}
if (!all && dup_name[strlen(dup_name)-1] == '/') {
- g_free(base);
- free(dup_name);
- continue;
+ dup_name[strlen(dup_name)-1] = '\0';
}
loc_name = imap_modified_utf7_to_utf8(base);
if (len == 0)
return 0;
+ if(len > 2*1024*1024) {
+ g_warning("read_data_str: refusing to allocate %d bytes.\n", len);
+ return -1;
+ }
+
tmpstr = g_try_malloc(len + 1);
if(tmpstr == NULL) {