From: Igor Galić Date: Sat, 24 Mar 2012 00:43:22 +0000 (+0000) Subject: vote X-Git-Tag: 2.4.2~132 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29a6b98f06f1f814e93098d73c1c647519ea528f;p=apache vote git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1304688 13f79535-47bb-0310-9956-ffa450edef68 --- 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;