r1286 merge:
fix memory allocation for auth_http_header
This commit is contained in:
parent
ea7cf4cf90
commit
11ade0fb6a
1 changed files with 1 additions and 0 deletions
|
@ -1169,6 +1169,7 @@ ngx_mail_auth_http_create_request(ngx_mail_session_t *s, ngx_pool_t *pool,
|
|||
+ sizeof(CRLF) - 1
|
||||
+ sizeof("Client-IP: ") - 1 + s->connection->addr_text.len
|
||||
+ sizeof(CRLF) - 1
|
||||
+ ahcf->header.len
|
||||
+ sizeof(CRLF) - 1;
|
||||
|
||||
b = ngx_create_temp_buf(pool, len);
|
||||
|
|
Loading…
Reference in a new issue