upgraded the nginx core to 1.5.7.

This commit is contained in:
Yichun Zhang (agentzh)
2013-12-15 13:21:56 -08:00
parent 02614af5ed
commit 8cec47f755
18 changed files with 2181 additions and 6 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: