From 29a6b98f06f1f814e93098d73c1c647519ea528f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Igor=20Gali=C4=87?= Date: Sat, 24 Mar 2012 00:43:22 +0000 Subject: [PATCH] vote git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1304688 13f79535-47bb-0310-9956-ffa450edef68 --- STATUS | 2 +- modules/filters/mod_request.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/STATUS b/STATUS index 5f4098adca..910f47d0ce 100644 --- a/STATUS +++ b/STATUS @@ -134,7 +134,7 @@ PATCHES PROPOSED TO BACKPORT FROM TRUNK: * mod_request: PR52981 check apr_stroff error correctly to allow KeptBodySize to be used Trunk patch: http://svn.apache.org/viewvc?rev=1304641&view=rev 2.4.x patch: trunk works + CHANGES. - +1: covener + +1: covener, igalic PATCHES/ISSUES THAT ARE STALLED diff --git a/modules/filters/mod_request.c b/modules/filters/mod_request.c index ae59ab6329..9cbde0a988 100644 --- a/modules/filters/mod_request.c +++ b/modules/filters/mod_request.c @@ -358,7 +358,7 @@ static const char *set_kept_body_size(cmd_parms *cmd, void *dconf, char *end = NULL; if (APR_SUCCESS != apr_strtoff(&(conf->keep_body), arg, &end, 10) - || conf->keep_body < 0 || end) { + || conf->keep_body < 0 || *end) { return "KeptBodySize must be a valid size in bytes, or zero."; } conf->keep_body_set = 1; -- 2.40.0