Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r5129 - trunk/src/http/modules

Anonymous User
March 21, 2013 12:08PM
Author: ru
Date: 2013-03-21 16:06:53 +0000 (Thu, 21 Mar 2013)
New Revision: 5129
URL: http://trac.nginx.org/nginx/changeset/5129/nginx

Log:
Split clients: check length when parsing configuration.


Modified:
trunk/src/http/modules/ngx_http_split_clients_module.c

Modified: trunk/src/http/modules/ngx_http_split_clients_module.c
===================================================================
--- trunk/src/http/modules/ngx_http_split_clients_module.c 2013-03-21 16:06:13 UTC (rev 5128)
+++ trunk/src/http/modules/ngx_http_split_clients_module.c 2013-03-21 16:06:53 UTC (rev 5129)
@@ -218,7 +218,7 @@
part->percent = 0;

} else {
- if (value[0].data[value[0].len - 1] != '%') {
+ if (value[0].len == 0 || value[0].data[value[0].len - 1] != '%') {
goto invalid;
}


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

[nginx] svn commit: r5129 - trunk/src/http/modules

Anonymous User 731 March 21, 2013 12:08PM



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

Online Users

Guests: 214
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready