From ea1b4cbcede9e395bd944056f1d23b4cc4c51917 Mon Sep 17 00:00:00 2001 From: Daniel Gryniewicz Date: Thu, 14 Jun 2007 17:28:11 +0000 Subject: Add fix for IMAP overflow; bug #182011 (Portage version: 2.1.2.9) --- .../files/digest-evolution-data-server-1.10.1-r3 | 3 +++ .../files/digest-evolution-data-server-1.6.2-r1 | 3 +++ .../files/digest-evolution-data-server-1.8.3-r5 | 3 +++ ...evolution-data-server-1.10.1-imap-overflow.patch | 21 +++++++++++++++++++++ 4 files changed, 30 insertions(+) create mode 100644 gnome-extra/evolution-data-server/files/digest-evolution-data-server-1.10.1-r3 create mode 100644 gnome-extra/evolution-data-server/files/digest-evolution-data-server-1.6.2-r1 create mode 100644 gnome-extra/evolution-data-server/files/digest-evolution-data-server-1.8.3-r5 create mode 100644 gnome-extra/evolution-data-server/files/evolution-data-server-1.10.1-imap-overflow.patch (limited to 'gnome-extra/evolution-data-server/files') diff --git a/gnome-extra/evolution-data-server/files/digest-evolution-data-server-1.10.1-r3 b/gnome-extra/evolution-data-server/files/digest-evolution-data-server-1.10.1-r3 new file mode 100644 index 000000000000..031700144864 --- /dev/null +++ b/gnome-extra/evolution-data-server/files/digest-evolution-data-server-1.10.1-r3 @@ -0,0 +1,3 @@ +MD5 1175bf76756009975f684116e76638c3 evolution-data-server-1.10.1.tar.bz2 7120388 +RMD160 edf55c74c458ed849635ace52340615017ad6a6d evolution-data-server-1.10.1.tar.bz2 7120388 +SHA256 289a541974fb37ed3e2392b19fd3e83429bfecd6873db52d4598ad4db5d1e905 evolution-data-server-1.10.1.tar.bz2 7120388 diff --git a/gnome-extra/evolution-data-server/files/digest-evolution-data-server-1.6.2-r1 b/gnome-extra/evolution-data-server/files/digest-evolution-data-server-1.6.2-r1 new file mode 100644 index 000000000000..e496e60a0ad0 --- /dev/null +++ b/gnome-extra/evolution-data-server/files/digest-evolution-data-server-1.6.2-r1 @@ -0,0 +1,3 @@ +MD5 165f493eec8a2c8fc6eca3fdeb8c4885 evolution-data-server-1.6.2.tar.bz2 7179353 +RMD160 59af916ab4a9fabc14c65c16189188f829459985 evolution-data-server-1.6.2.tar.bz2 7179353 +SHA256 3b02b940aaa90034609b9401d3da586e5439363ade9bf8d7fc562acacd28bfde evolution-data-server-1.6.2.tar.bz2 7179353 diff --git a/gnome-extra/evolution-data-server/files/digest-evolution-data-server-1.8.3-r5 b/gnome-extra/evolution-data-server/files/digest-evolution-data-server-1.8.3-r5 new file mode 100644 index 000000000000..0defb70b07af --- /dev/null +++ b/gnome-extra/evolution-data-server/files/digest-evolution-data-server-1.8.3-r5 @@ -0,0 +1,3 @@ +MD5 f6a824f2553fd97555b8785a452fb6ab evolution-data-server-1.8.3.tar.bz2 7024111 +RMD160 8051f35a0db514f919bf730cd35c37ea75029061 evolution-data-server-1.8.3.tar.bz2 7024111 +SHA256 cbc067d87722afef84e8c4914787d990015e0c69b3bf3576fc15c8193ffd2fcc evolution-data-server-1.8.3.tar.bz2 7024111 diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-1.10.1-imap-overflow.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-1.10.1-imap-overflow.patch new file mode 100644 index 000000000000..7a241c1731a4 --- /dev/null +++ b/gnome-extra/evolution-data-server/files/evolution-data-server-1.10.1-imap-overflow.patch @@ -0,0 +1,21 @@ +diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN evolution-data-server-1.10.1.orig/camel/providers/imap/camel-imap-folder.c evolution-data-server-1.10.1/camel/providers/imap/camel-imap-folder.c +--- evolution-data-server-1.10.1.orig/camel/providers/imap/camel-imap-folder.c 2007-04-09 08:42:39.000000000 -0400 ++++ evolution-data-server-1.10.1/camel/providers/imap/camel-imap-folder.c 2007-06-14 13:02:54.000000000 -0400 +@@ -655,7 +655,7 @@ imap_rescan (CamelFolder *folder, int ex + uid = g_datalist_get_data (&data, "UID"); + flags = GPOINTER_TO_UINT (g_datalist_get_data (&data, "FLAGS")); + +- if (!uid || !seq || seq > summary_len) { ++ if (!uid || !seq || seq > summary_len || seq < 0) { + g_datalist_clear (&data); + continue; + } +@@ -2789,7 +2789,7 @@ parse_fetch_response (CamelImapFolder *i + + if (*response != '*' || *(response + 1) != ' ') + return NULL; +- seq = strtol (response + 2, &response, 10); ++ seq = strtoul (response + 2, &response, 10); + if (seq == 0) + return NULL; + if (g_ascii_strncasecmp (response, " FETCH (", 8) != 0) -- cgit v1.2.3-65-gdbad