Mercurial > hg > nginx
changeset 1285:0c10dc6a8e74
fix memory allocation for auth_http_header
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 10 Jul 2007 21:26:51 +0000 |
parents | be2b895d31e0 |
children | a9c361479430 |
files | src/mail/ngx_mail_auth_http_module.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/mail/ngx_mail_auth_http_module.c +++ b/src/mail/ngx_mail_auth_http_module.c @@ -1169,6 +1169,7 @@ ngx_mail_auth_http_create_request(ngx_ma + 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);