diff options
author | Alastair Tse <liquidx@gentoo.org> | 2004-02-18 18:25:21 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2004-02-18 18:25:21 +0000 |
commit | 99ddd92f2dfc8f267f41487718f57b1be471de8f (patch) | |
tree | 1f6fed1cc19f38e44111387f58acefbbd6c9b597 /net-mail/evolution/files | |
parent | Added the patch for the mremap/munmap vulnerability. Bug #42024. (diff) | |
download | historical-99ddd92f2dfc8f267f41487718f57b1be471de8f.tar.gz historical-99ddd92f2dfc8f267f41487718f57b1be471de8f.tar.bz2 historical-99ddd92f2dfc8f267f41487718f57b1be471de8f.zip |
add CVS backported patch to deal with NZDT (UTC+13) (#41817)
Diffstat (limited to 'net-mail/evolution/files')
-rw-r--r-- | net-mail/evolution/files/evolution-1.4.5-nztimezone.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/net-mail/evolution/files/evolution-1.4.5-nztimezone.patch b/net-mail/evolution/files/evolution-1.4.5-nztimezone.patch new file mode 100644 index 000000000000..452f746ea3bc --- /dev/null +++ b/net-mail/evolution/files/evolution-1.4.5-nztimezone.patch @@ -0,0 +1,53 @@ +Index: camel-mime-utils.c +=================================================================== +RCS file: /cvs/gnome/evolution/camel/camel-mime-utils.c,v +retrieving revision 1.183.4.4 +diff -u -r1.183.4.4 camel-mime-utils.c +--- camel-mime-utils.c 26 Sep 2003 16:04:49 -0000 1.183.4.4 ++++ camel-mime-utils.c 8 Oct 2003 16:40:41 -0000 +@@ -3530,12 +3530,12 @@ + offset = (*inptr++)=='-'?-1:1; + offset = offset * header_decode_int(&inptr); + d(printf("abs signed offset = %d\n", offset)); +- if (offset < -1200 || offset > 1200) ++ if (offset < -1200 || offset > 1400) + offset = 0; + } else if (isdigit(*inptr)) { + offset = header_decode_int(&inptr); + d(printf("abs offset = %d\n", offset)); +- if (offset < -1200 || offset > 1200) ++ if (offset < -1200 || offset > 1400) + offset = 0; + } else { + char *tz = decode_token(&inptr); +Index: camel-text-index.c +=================================================================== +RCS file: /cvs/gnome/evolution/camel/camel-text-index.c,v +retrieving revision 1.16 +diff -u -r1.16 camel-text-index.c +--- camel-text-index.c 11 Jun 2003 19:38:33 -0000 1.16 ++++ camel-text-index.c 8 Oct 2003 16:40:44 -0000 +@@ -55,6 +55,8 @@ + /* cursor debug */ + #define c(x) + ++#define CAMEL_TEXT_INDEX_MAX_WORDLEN (60) ++ + #ifdef ENABLE_THREADS + #define CAMEL_TEXT_INDEX_LOCK(kf, lock) (e_mutex_lock(((CamelTextIndex *)kf)->priv->lock)) + #define CAMEL_TEXT_INDEX_UNLOCK(kf, lock) (e_mutex_unlock(((CamelTextIndex *)kf)->priv->lock)) +@@ -1478,11 +1480,12 @@ + utf8[utf8len] = 0; + g_string_append(p->buffer, utf8); + } else { +- if (p->buffer->len) { ++ if (p->buffer->len < CAMEL_TEXT_INDEX_MAX_WORDLEN) { + text_index_name_add_word(idn, p->buffer->str); + /*camel_index_name_add_word(idn, p->buffer->str);*/ +- g_string_truncate(p->buffer, 0); + } ++ ++ g_string_truncate (p->buffer, 0); + } + } + |