diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-07-13 20:50:48 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-07-13 20:50:48 +0200 |
commit | 42677a058610a6810ba569b01fc5ae7dbc36006c (patch) | |
tree | d681d8d3196a24a7eb3c9265b718bbe3169d7d35 | |
parent | d0d371114c6cce9885d02bc185c65e83e95b94cb (diff) | |
download | mblaze-42677a058610a6810ba569b01fc5ae7dbc36006c.tar.gz mblaze-42677a058610a6810ba569b01fc5ae7dbc36006c.tar.xz mblaze-42677a058610a6810ba569b01fc5ae7dbc36006c.zip |
rfc2045: blaze822_multipart: \0 also terminates boundary
-rw-r--r-- | rfc2045.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rfc2045.c b/rfc2045.c index e2e8658..eb23d0c 100644 --- a/rfc2045.c +++ b/rfc2045.c @@ -88,7 +88,7 @@ blaze822_multipart(struct message *msg, struct message **imsg) // bcharsnospace := DIGIT / ALPHA / "'" / "(" / ")" / // "+" / "_" / "," / "-" / "." / // "/" / ":" / "=" / "?" - while(!iswsp(*e) && *e != ';') + while (*e && !iswsp(*e) && *e != ';') e++; e++; } |