httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/modules/metadata mod_headers.c
Date Wed, 06 Jun 2001 10:43:48 GMT
trawick     01/06/06 03:43:48

  Modified:    modules/metadata mod_headers.c
  Log:
  initialize local condition_var var to keep garbage out of struct
  header_entry->condition_var and avoid a segfault later
  
  (untested, but it looks good to me :) )
  
  Revision  Changes    Path
  1.33      +1 -1      httpd-2.0/modules/metadata/mod_headers.c
  
  Index: mod_headers.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/metadata/mod_headers.c,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- mod_headers.c	2001/06/06 00:54:06	1.32
  +++ mod_headers.c	2001/06/06 10:43:46	1.33
  @@ -342,7 +342,7 @@
                                 const char *value, const char* envclause)
   {
       headers_conf *dirconf = indirconf;
  -    const char *condition_var;
  +    const char *condition_var = NULL;
       char *colon;
       char *hdr = apr_pstrdup(cmd->pool, inhdr);
       header_entry *new;
  
  
  

Mime
View raw message