httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/main http_config.c
Date Wed, 20 Sep 2000 17:36:01 GMT
trawick     00/09/20 10:36:00

  Modified:    src      CHANGES
               src/main http_config.c
  Log:
  Avoid a segfault when parsing .htaccess files.  An
  uninitialized tree pointer was passed to ap_build_config().
  
  Revision  Changes    Path
  1.232     +4 -0      apache-2.0/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/CHANGES,v
  retrieving revision 1.231
  retrieving revision 1.232
  diff -u -r1.231 -r1.232
  --- CHANGES	2000/09/17 21:55:30	1.231
  +++ CHANGES	2000/09/20 17:35:56	1.232
  @@ -1,4 +1,8 @@
   Changes with Apache 2.0a7
  +  *) Avoid a segfault when parsing .htaccess files.  An 
  +     uninitialized tree pointer was passed to ap_build_config().
  +     [Jeff Trawick]
  +
     *) Change the way that inet_addr & inet_network are checked for
        in APR's configure process to allow BeOS BONE to correctly
        find them. With this change BeOS BONE now builds from source
  
  
  
  1.77      +1 -1      apache-2.0/src/main/http_config.c
  
  Index: http_config.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_config.c,v
  retrieving revision 1.76
  retrieving revision 1.77
  diff -u -r1.76 -r1.77
  --- http_config.c	2000/09/15 16:50:39	1.76
  +++ http_config.c	2000/09/20 17:35:59	1.77
  @@ -1428,7 +1428,7 @@
   
           if (status == APR_SUCCESS) {
   	    const char *errmsg;
  -	    ap_directive_t *conftree;
  +	    ap_directive_t *conftree = NULL;
   
               dc = ap_create_per_dir_config(r->pool);
   
  
  
  

Mime
View raw message