From: Brendan Cully Date: Mon, 14 Dec 2009 18:24:59 +0000 (-0800) Subject: Fix off-by-one errors in mailcap parser. Closes #3362 X-Git-Tag: neomutt-20160307~432 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=745bbbc3ea4990a5fc845d1e5bb73b2e126423b0;p=neomutt Fix off-by-one errors in mailcap parser. Closes #3362 --- diff --git a/ChangeLog b/ChangeLog index 69e82789c..6c94cda52 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2009-12-10 22:52 -0800 Daniel Jacobowitz (b7d2cb7c7ce1) + + * hcache.c: Do not store header color in hcache. If the color + directive is removed from muttrc, the cached value from the last + directive would otherwise still be in effect. + +2009-12-07 23:08 -0800 Patrick Welche (1cf34ea1f128) + + * mutt_ssl.c: STACK* is not defined with newer SSL, use + STACK_OF instead. Closes #3356. + 2009-12-07 22:46 -0800 Peter Rosin (fc9563de3dcb) * snprintf.c: Output %p as unsigned in the bundled snprintf diff --git a/rfc1524.c b/rfc1524.c index bc709aef6..a4706545c 100644 --- a/rfc1524.c +++ b/rfc1524.c @@ -68,9 +68,10 @@ int rfc1524_expand_command (BODY *a, char *filename, char *_type, if (option (OPTMAILCAPSANITIZE)) mutt_sanitize_filename (type, 0); - while (command[x] && x