diff options
author | Eduardo Chappa <chappa@washington.edu> | 2015-01-25 18:52:13 -0700 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2015-01-25 18:52:13 -0700 |
commit | 4db5ba9a511564e4a3cb3d2b67bce4bb171eae4f (patch) | |
tree | 8ff91f6581acb023e7a3d989414cc925927b49b3 /pith/reply.c | |
parent | 2ea73d14866f5eb39bc6a9aab36312abd6fa525c (diff) | |
download | alpine-4db5ba9a511564e4a3cb3d2b67bce4bb171eae4f.tar.xz |
* new version 2.20.1
* Ignore message from smtp server after a successful authentication
challenge.
* Alpine would not set include and lib paths for OpenSSL if this was
installed in /usr/local/ssl.
* If the .pinerc file is a symbolic link, Alpine might not write its
contents when saving its configuration.
* The _INIT_ token does not skip over non-alpha numeric characters in
the name. Reported by Andreas Fehr.
* If SSLDIR is defined somehow, do not disable S/MIME if the
SSLCERTSDIR is not found.
* Mismatch in size of UCS and CELL caused a corruption in the
content of a pointer, which made the speller in PC-Alpine get
the content of a word incorrectly.
* Update splash screen to version 2.20 in main repository.
* Skip testing openssl compatibility version when cross-compilation is
detected. Fix contributed by Antti Seppälä.
Diffstat (limited to 'pith/reply.c')
-rw-r--r-- | pith/reply.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pith/reply.c b/pith/reply.c index 52a3c81c..54223e68 100644 --- a/pith/reply.c +++ b/pith/reply.c @@ -820,6 +820,10 @@ reply_quote_initials(char *name) continue; } + /* skip over non-alpha stuff */ + if(i == 0 && !isalnum((unsigned char) cbuf.cbuf[0])) + goto reset_cbuf; + /* copy cbuf */ for(j = 0; j <= i; j++) *w++ = cbuf.cbuf[j]; @@ -827,6 +831,7 @@ reply_quote_initials(char *name) while(*s && (unsigned char) *s != ' ') s++; +reset_cbuf: cbuf.cbuf[i = 0] = '\0'; cbuf.cbufp = cbuf.cbuf; cbuf.cbufend = cbuf.cbuf; |