added patches for nginx 1.4.1.

This commit is contained in:
agentzh (Yichun Zhang)
2013-06-10 16:35:04 -07:00
parent 5328f0113f
commit c312ba38b3
15 changed files with 2280 additions and 5 deletions

View File

@ -0,0 +1,13 @@
--- src/http/modules/ngx_http_proxy_module.c
+++ src/http/modules/ngx_http_proxy_module.c
@@ -1865,6 +1865,10 @@ data:
}
+ if (ctx->size < 0 || ctx->length < 0) {
+ goto invalid;
+ }
+
return rc;
done: