httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@hyperreal.org
Subject cvs commit: apache-1.3/src/main util.c
Date Wed, 10 Mar 1999 12:11:58 GMT
rse         99/03/10 04:11:57

  Modified:    src      CHANGES
               src/main util.c
  Log:
  Fix a bug in the calculation of the buffer size for the line continuation
  facility in Apache's configuration files which could lead to a buffer overflow
  situation.
  
  Submitted by: Thomas Devanneaux <Thomas.Devanneaux@enst.fr>
  Reviewed by: Ralf S. Engelschall
  PR: 3617
  
  Revision  Changes    Path
  1.1274    +4 -0      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.1273
  retrieving revision 1.1274
  diff -u -r1.1273 -r1.1274
  --- CHANGES	1999/03/10 11:52:54	1.1273
  +++ CHANGES	1999/03/10 12:11:55	1.1274
  @@ -1,5 +1,9 @@
   Changes with Apache 1.3.5
   
  +  *) Fix a bug in the calculation of the buffer size for the line continuation
  +     facility in Apache's configuration files which could lead to a buffer
  +     overflow situation. [Thomas Devanneaux <Thomas.Devanneaux@enst.fr>] PR#3617
  +
     *) Make documentation and error messages of APACI's --activate-module=FILE 
        option more clear. [Jan Wolter <janc@wwnet.net>] PR#3995
   
  
  
  
  1.154     +1 -1      apache-1.3/src/main/util.c
  
  Index: util.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/util.c,v
  retrieving revision 1.153
  retrieving revision 1.154
  diff -u -r1.153 -r1.154
  --- util.c	1999/02/20 18:12:35	1.153
  +++ util.c	1999/03/10 12:11:57	1.154
  @@ -877,8 +877,8 @@
   			 * line continuation requested -
   			 * then remove backslash and continue
   			 */
  -			cbuf = cp;
   			cbufsize -= (cp-cbuf);
  +			cbuf = cp;
   			continue;
   		    }
   		    else {
  
  
  

Mime
View raw message