httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: httpd-2.0/server protocol.c
Date Wed, 15 Sep 2004 10:47:57 GMT
jorton      2004/09/15 03:47:57

  Modified:    .        Tag: APACHE_2_0_BRANCH STATUS
               server   Tag: APACHE_2_0_BRANCH protocol.c
  Log:
  Backport from HEAD:
  
  * server/protocol.c (ap_rgetline_core): Fix off-by-one.
  
  Reviewed by: jerenkrantz, trawick
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.751.2.1050 +1 -5      httpd-2.0/STATUS
  
  Index: STATUS
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/STATUS,v
  retrieving revision 1.751.2.1049
  retrieving revision 1.751.2.1050
  diff -d -w -u -r1.751.2.1049 -r1.751.2.1050
  --- STATUS	15 Sep 2004 10:31:16 -0000	1.751.2.1049
  +++ STATUS	15 Sep 2004 10:47:56 -0000	1.751.2.1050
  @@ -73,10 +73,6 @@
     [ please place file names and revisions from HEAD here, so it is easy to
       identify exactly what the proposed changes are! ]
   
  -    *) ap_rgetline_core correctness fix.
  -       http://cvs.apache.org/viewcvs.cgi/httpd-2.0/server/protocol.c?r1=1.151&r2=1.152
  -       +1: jorton, jerenkrantz, trawick
  -
       *) mod_rewrite: Fix 0 bytes write into random memory position. PR 31036.
          (2.0 + 1.3)
            http://www.apache.org/~nd/dbmmap_1.3.patch
  
  
  
  No                   revision
  No                   revision
  1.121.2.20 +1 -1      httpd-2.0/server/protocol.c
  
  Index: protocol.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/protocol.c,v
  retrieving revision 1.121.2.19
  retrieving revision 1.121.2.20
  diff -d -w -u -r1.121.2.19 -r1.121.2.20
  --- protocol.c	28 Jun 2004 23:57:14 -0000	1.121.2.19
  +++ protocol.c	15 Sep 2004 10:47:56 -0000	1.121.2.20
  @@ -253,7 +253,7 @@
               if (*s) {
                   /* ensure this string is terminated */
                   if (bytes_handled < n) {
  -                    (*s)[bytes_handled] = '\0';
  +                    (*s)[bytes_handled-1] = '\0';
                   }
                   else {
                       (*s)[n-1] = '\0';
  
  
  

Mime
View raw message