The official NGINX Open Source repository.
Go to file
Valentin Bartenev b53306815e Proxy: fixed possible uninitialized memory access.
The ngx_http_proxy_rewrite_cookie() function expects the value of the
"Set-Cookie" header to be null-terminated, and for headers obtained
from proxied server it is usually true.

Now the ngx_http_proxy_rewrite() function preserves the null character
while rewriting headers.

This fixes accessing memory outside of rewritten value if both the
"proxy_cookie_path" and "proxy_cookie_domain" directives are used in
the same location.
2013-11-18 03:06:45 +04:00
auto Win32: fixed link flags with MSVC, broken by bfe536716dbf. 2014-04-07 18:29:05 +04:00
conf MIME: added application/xspf+xml MIME type (ticket #479). 2014-03-06 10:51:08 +01:00
contrib Contrib: added vim to README. 2013-12-06 19:58:27 +04:00
docs nginx-1.7.0-RELEASE 2014-04-24 16:54:22 +04:00
misc Documented the switch from java XSLScript to xslscript.pl. 2014-04-21 13:48:41 +04:00
src Proxy: fixed possible uninitialized memory access. 2013-11-18 03:06:45 +04:00
.hgtags release-1.7.0 tag 2014-04-24 16:54:23 +04:00