summaryrefslogtreecommitdiff
path: root/imap/src/c-client
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2015-01-07 21:02:55 -0700
committerEduardo Chappa <chappa@washington.edu>2015-01-07 21:02:55 -0700
commit2ea73d14866f5eb39bc6a9aab36312abd6fa525c (patch)
tree4d934a855d58219abc5813b5519d8100812dd99d /imap/src/c-client
parent20d433c77e32dc05c2accf8ab943c2a7d9738239 (diff)
downloadalpine-2ea73d14866f5eb39bc6a9aab36312abd6fa525c.tar.xz
* new version 2.19.9999
* crash on importing certificates that do not have an email address associated to them, such as those of a Certificate Authority. * Disable saving new passwords to the password file. Implemented by Louis Raphael from dpslabs.com. * Panda IMAP does not decode correctly Korean text encoded in UTF-8. Reported by Chulho Yang.
Diffstat (limited to 'imap/src/c-client')
-rw-r--r--imap/src/c-client/rfc822.c2
-rw-r--r--imap/src/c-client/utf8.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/imap/src/c-client/rfc822.c b/imap/src/c-client/rfc822.c
index 93663e65..133f9e67 100644
--- a/imap/src/c-client/rfc822.c
+++ b/imap/src/c-client/rfc822.c
@@ -1,5 +1,5 @@
/* ========================================================================
- * Copyright 2013-2014 Eduardo Chappa
+ * Copyright 2013-2015 Eduardo Chappa
* Copyright 2008-2010 Mark Crispin
* ========================================================================
*/
diff --git a/imap/src/c-client/utf8.c b/imap/src/c-client/utf8.c
index c752d7a2..3f75ed98 100644
--- a/imap/src/c-client/utf8.c
+++ b/imap/src/c-client/utf8.c
@@ -1033,7 +1033,7 @@ unsigned long utf8_get_raw (unsigned char **s,unsigned long *i)
}
else if (c == 0xed) { /* U+d000 - U+d7ff */
c &= 0x0f;
- if ((c1 >= 0x80) && (c1 <= 0x9f)) more = 2;
+ if (j == 0 || ((c1 >= 0x80) && (c1 <= 0x9f))) more = 2;
}
else if (c < 0xf0) { /* U+e000 - U+ffff */
c &= 0x0f;