Welcome! Log In Create A New Profile

Advanced

[nginx] Fixed chunk size parsing.

Maxim Dounin
May 13, 2013 07:30AM
details: http://hg.nginx.com/nginx/rev/abfe9e6e72cb
branches: stable-1.2
changeset: 5206:abfe9e6e72cb
user: Maxim Dounin <mdounin@mdounin.ru>
date: Mon May 13 13:19:28 2013 +0400
description:
Fixed chunk size parsing.

diffstat:

src/http/modules/ngx_http_proxy_module.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c
--- a/src/http/modules/ngx_http_proxy_module.c
+++ b/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:

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Fixed chunk size parsing.

Maxim Dounin 975 May 13, 2013 07:30AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 194
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready