mirror of
https://github.com/nginx/nginx.git
synced 2026-10-10 11:56:42 +00:00
Mail: fixed overrun of allocated memory (ticket #411).
Reported by Markus Linnala.
This commit is contained in:
parent
f2b5192c30
commit
aa36cc39a4
1 changed files with 0 additions and 1 deletions
|
|
@ -277,7 +277,6 @@ ngx_mail_smtp_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child)
|
|||
p = ngx_cpymem(p, conf->capability.data, conf->capability.len);
|
||||
|
||||
p = ngx_cpymem(p, "250 STARTTLS" CRLF, sizeof("250 STARTTLS" CRLF) - 1);
|
||||
*p++ = CR; *p = LF;
|
||||
|
||||
p = conf->starttls_capability.data
|
||||
+ (last - conf->capability.data) + 3;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue