diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2007-07-10 21:26:51 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2007-07-10 21:26:51 +0000 |
| commit | fa808bbc046cc2085a9799274858318b8b08dced (patch) | |
| tree | ca58f81c43f082f59ebf13cf2b440bc866d7b2f4 | |
| parent | 8b0a3d2810b46a8435365611d8274b5473429a75 (diff) | |
| download | nginx-fa808bbc046cc2085a9799274858318b8b08dced.tar.gz nginx-fa808bbc046cc2085a9799274858318b8b08dced.tar.bz2 | |
fix memory allocation for auth_http_header
| -rw-r--r-- | src/mail/ngx_mail_auth_http_module.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mail/ngx_mail_auth_http_module.c b/src/mail/ngx_mail_auth_http_module.c index 8028c957a..c7e0fc038 100644 --- 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_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); |
