]> git.kaiwu.me - nginx.git/commit
Mail: added a check for the number of arguments in MAIL/RCPT.
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 21 May 2014 17:56:20 +0000 (21:56 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 21 May 2014 17:56:20 +0000 (21:56 +0400)
commitf96771ab0519eaec5808d8816db5ba262c6c1b70
tree6e187bd72e6629646efb23d67bcbd12ffd8ad12f
parent262e4953161898b85fb017b46d1c6aca177c0c11
Mail: added a check for the number of arguments in MAIL/RCPT.

Missed during introduction of the SMTP pipelining support (04e43d03e153,
1.5.6).  Previously, the check wasn't needed as s->buffer was used directly
and the number of arguments didn't matter.

Reported by Svyatoslav Nikolsky.
src/mail/ngx_mail_smtp_handler.c