No need to fix trunk, the code is no
longer present there.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@
1178053 13f79535-47bb-0310-9956-
ffa450edef68
*) Example configuration: Fix entry for MaxRanges (use "unlimited" instead
of "0"). [Rainer Jung]
+ *) mod_substitute: Fix buffer overrun. [Ruediger Pluem, Rainer Jung]
+
Changes with Apache 2.2.21
*) SECURITY: CVE-2011-3348 (cve.mitre.org)
* we've allocated and only re-alloc when we need it.
* NOTE: this screams for a macro.
*/
- if (!scratch || (bytes > (fbytes + 1))) {
+ if (!scratch || (bytes + 1 > fbytes)) {
fbytes = bytes + 1;
scratch = apr_palloc(tpool, fbytes);
}