last character.
PR: 20619
Submitted by: Jesse Pelton <jsp pkc.com>
Reviewed by: Jeff Trawick
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102642
13f79535-47bb-0310-9956-
ffa450edef68
[Remove entries to the current 2.0 section below, when backported]
+ *) mod_isapi: send_response_header() failed to copy status string's
+ last character. PR 20619. [Jesse Pelton <jsp pkc.com>]
+
*) mod_isapi: GetServerVariable("ALL_RAW") returned the wrong buffer
- size. PR 20617 [Jesse Pelton <jsp pkc.com>]
+ size. PR 20617. [Jesse Pelton <jsp pkc.com>]
*) The whole codebase was relicensed and is now available under
the Apache License, Version 2.0 (http://www.apache.org/licenses).
}
newstat = apr_palloc(cid->r->pool, statlen + 9);
strcpy(newstat, "Status: ");
- apr_cpystrn(newstat + 8, stat, statlen);
+ apr_cpystrn(newstat + 8, stat, statlen + 1);
stat = newstat;
statlen += 8;
}