mirror of
https://github.com/nginx/nginx.git
synced 2024-12-13 19:19:00 +08:00
fix memory allocation for auth_http_header
This commit is contained in:
parent
8b0a3d2810
commit
fa808bbc04
@ -1169,6 +1169,7 @@ ngx_mail_auth_http_create_request(ngx_mail_session_t *s, ngx_pool_t *pool,
|
|||||||
+ sizeof(CRLF) - 1
|
+ sizeof(CRLF) - 1
|
||||||
+ sizeof("Client-IP: ") - 1 + s->connection->addr_text.len
|
+ sizeof("Client-IP: ") - 1 + s->connection->addr_text.len
|
||||||
+ sizeof(CRLF) - 1
|
+ sizeof(CRLF) - 1
|
||||||
|
+ ahcf->header.len
|
||||||
+ sizeof(CRLF) - 1;
|
+ sizeof(CRLF) - 1;
|
||||||
|
|
||||||
b = ngx_create_temp_buf(pool, len);
|
b = ngx_create_temp_buf(pool, len);
|
||||||
|
Loading…
Reference in New Issue
Block a user