diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-07-29 11:51:08 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-07-29 12:54:03 +0200 |
commit | 525233811c0f7c9358c5b12c6f7ceecf5bfe7d96 (patch) | |
tree | bc4de1d0ccc245626dea11a28e21227be22258ad | |
parent | 9336bc9939e970c6e98fa66c13b221c8929d9e19 (diff) | |
download | mblaze-525233811c0f7c9358c5b12c6f7ceecf5bfe7d96.tar.gz mblaze-525233811c0f7c9358c5b12c6f7ceecf5bfe7d96.tar.xz mblaze-525233811c0f7c9358c5b12c6f7ceecf5bfe7d96.zip |
rfc2047: allow empty encoded-words
This is non-conforming, but happens in the wild occasionally.
-rw-r--r-- | rfc2047.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rfc2047.c b/rfc2047.c index d5ecde2..63c4468 100644 --- 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; |