diff --git a/src/mail/ngx_mail_parse.c b/src/mail/ngx_mail_parse.c index e55010c60..5d5f3b460 100644 --- a/src/mail/ngx_mail_parse.c +++ b/src/mail/ngx_mail_parse.c @@ -637,7 +637,9 @@ done: invalid: s->state = sw_start; + s->arg_start = NULL; s->quoted = 0; + s->backslash = 0; s->no_sync_literal = 0; s->literal_len = 0;