Commit ac7d6841 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

back port this from 2.1-dev:

  mod_isapi: send_response_header() failed to copy status string's
  last character.

PR:		20619
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@103773 13f79535-47bb-0310-9956-ffa450edef68
parent c73e9a82
Loading
Loading
Loading
Loading
+3 −0
Changes for CHANGES: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
Changes with Apache 2.0.50
  *) mod_isapi: send_response_header() failed to copy status string's 
     last character.  PR 20619.  [Jesse Pelton <jsp pkc.com>]
  *) Fix a segfault when requests for shared memory fails and returns
     NULL. Fix a segfault caused by a lack of bounds checking on the
     cache. PR 24801 [Graham Leggett]
+1 −6
Changes for STATUS: 1 added line, 6 removed lines.
Original line number Diff line number Diff line
APACHE 2.0 STATUS:                                              -*-text-*-
Last modified at [$Date: 2004/05/25 23:45:45 $]
Last modified at [$Date: 2004/05/26 11:50:42 $]

Release:

@@ -392,11 +392,6 @@ PATCHES TO BACKPORT FROM 2.1
	   which implements this, keeping UseCanonicalName Off
	   "as is". 

    * 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
      +1: trawick, stoddard, nd

    * Unix MPMs: Stop dropping connections when the file descriptor
      is at least FD_SETSIZE
        os/unix/unixd.c: r1.63
+1 −1
Changes for modules/arch/win32/mod_isapi.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -684,7 +684,7 @@ static apr_ssize_t send_response_header(isapi_cid *cid,
        }
        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;
    }