mblaze

Unix utilities to deal with Maildir - my mirror
git clone https://pi.duncano.de/git/mblaze.git
Log | Files | Refs | README | COPYING

commit 525233811c0f7c9358c5b12c6f7ceecf5bfe7d96
parent 9336bc9939e970c6e98fa66c13b221c8929d9e19
Author: Christian Neukirchen <chneukirchen@gmail.com>
Date:   Fri, 29 Jul 2016 11:51:08 +0200

rfc2047: allow empty encoded-words

This is non-conforming, but happens in the wild occasionally.

Diffstat:
rfc2047.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rfc2047.c b/rfc2047.c @@ -164,7 +164,7 @@ blaze822_decode_rfc2047(char *dst, char *src, size_t dlen, char *tgtenc) char enc = lc(*e++); if (*e++ != '?') goto nocode; - char *start = e++; + char *start = e; char *stop = strstr(e, "?="); if (!stop) goto nocode;