You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2004/02/16 18:39:56 UTC
cvs commit: httpd-2.0/modules/arch/win32 mod_isapi.c
trawick 2004/02/16 09:39:56
Modified: . CHANGES
modules/arch/win32 mod_isapi.c
Log:
mod_isapi: GetServerVariable("ALL_RAW") returned the wrong buffer
size.
PR: 20617
Submitted by: Jesse Pelton <jsp pkc.com>
Reviewed by: Jeff Trawick
Revision Changes Path
1.1402 +3 -0 httpd-2.0/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/httpd-2.0/CHANGES,v
retrieving revision 1.1401
retrieving revision 1.1402
diff -u -r1.1401 -r1.1402
--- CHANGES 11 Feb 2004 18:12:49 -0000 1.1401
+++ CHANGES 16 Feb 2004 17:39:55 -0000 1.1402
@@ -2,6 +2,9 @@
[Remove entries to the current 2.0 section below, when backported]
+ *) mod_isapi: GetServerVariable("ALL_RAW") returned the wrong buffer
+ 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).
[Apache Software Foundation]
1.97 +1 -1 httpd-2.0/modules/arch/win32/mod_isapi.c
Index: mod_isapi.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/arch/win32/mod_isapi.c,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -r1.96 -r1.97
--- mod_isapi.c 9 Feb 2004 20:29:17 -0000 1.96
+++ mod_isapi.c 16 Feb 2004 17:39:56 -0000 1.97
@@ -540,7 +540,7 @@
int i;
for (len = 0, i = 0; i < arr->nelts; i++) {
- len += strlen(elts[i].key) + strlen(elts[i].val) + 2;
+ len += strlen(elts[i].key) + strlen(elts[i].val) + 3;
}
if (*buf_size < len + 1) {