]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
grab this from 2.1-dev:
authorJeff Trawick <trawick@apache.org>
Mon, 26 Apr 2004 15:54:23 +0000 (15:54 +0000)
committerJeff Trawick <trawick@apache.org>
Mon, 26 Apr 2004 15:54:23 +0000 (15:54 +0000)
mod_isapi: GetServerVariable("ALL_RAW") returned the wrong buffer
size.

PR:             20617
Submitted by: Jesse Pelton <jsp pkc.com>
Reviewed by: trawick, stoddard, nd

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@103527 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
STATUS
modules/arch/win32/mod_isapi.c

diff --git a/CHANGES b/CHANGES
index 1d2e171145e3391c5279129add6d73501dfebc6e..e0e9be27954617a9de6cf0b273f6f3fb7dd4f564 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,8 @@
 Changes with Apache 2.0.50
 
+  *) mod_isapi: GetServerVariable("ALL_RAW") returned the wrong buffer
+     size.  PR 20617.  [Jesse Pelton <jsp pkc.com>]
+
   *) mod_dav: Fix a problem that could cause crashes when manipulating 
      locks on some platforms.  [Jeff Trawick]
 
diff --git a/STATUS b/STATUS
index d5864818f5d89b3a881546071d61fc19fde6c4cf..c079f5cc7d44579bc6c36890442f4032807d8ec0 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -1,5 +1,5 @@
 APACHE 2.0 STATUS:                                              -*-text-*-
-Last modified at [$Date: 2004/04/26 15:45:52 $]
+Last modified at [$Date: 2004/04/26 15:54:22 $]
 
 Release:
 
@@ -353,11 +353,6 @@ PATCHES TO BACKPORT FROM 2.1
          nd replies: But if it can't be 0 the alternatives thereafter make no
            sense anymore, right?
 
-    * mod_isapi: GetServerVariable("ALL_RAW") returned the wrong buffer
-      size.  PR 20617  [Jesse Pelton <jsp pkc.com>]
-        http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/arch/win32/mod_isapi.c?r1=1.96&r2=1.97
-      +1: trawick, stoddard, nd
-
     * mod_isapi: send_response_header() failed to copy status string's 
       last character.  PR 20619.  [Jesse Pelton <jsp pkc.com>]
       http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/arch/win32/mod_isapi.c?r1=1.97&r2=1.98
index a582aab377a9be77d5e945011f27ffa5a8099048..705ea150d7c471da7ec8e03aab4ff6f7b595aeed 100644 (file)
@@ -540,7 +540,7 @@ int APR_THREAD_FUNC GetServerVariable (isapi_cid    *cid,
         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) {