rfc2045: blaze822_multipart: \0 also terminates boundary

pull/1/merge
Christian Neukirchen 8 years ago
parent d0d371114c
commit 42677a0586

@ -88,7 +88,7 @@ blaze822_multipart(struct message *msg, struct message **imsg)
// bcharsnospace := DIGIT / ALPHA / "'" / "(" / ")" / // bcharsnospace := DIGIT / ALPHA / "'" / "(" / ")" /
// "+" / "_" / "," / "-" / "." / // "+" / "_" / "," / "-" / "." /
// "/" / ":" / "=" / "?" // "/" / ":" / "=" / "?"
while(!iswsp(*e) && *e != ';') while (*e && !iswsp(*e) && *e != ';')
e++; e++;
e++; e++;
} }

Loading…
Cancel
Save