httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@hyperreal.org>
Subject cvs commit: apachen/src/modules/standard mod_include.c
Date Fri, 26 Sep 1997 03:23:04 GMT
dgaudet     97/09/25 20:23:04

  Modified:    src      CHANGES
               src/modules/standard mod_include.c
  Log:
  mod_include would use uninitialized data when parsing certain
  expressions involving && and ||
  
  PR:		1139
  Submitted by:	Brian Slesinsky <bslesins@wired.com>
  Reviewed by:	Dean Gaudet, Jim Jagielski, Roy Fielding
  
  Revision  Changes    Path
  1.449     +3 -0      apachen/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/CHANGES,v
  retrieving revision 1.448
  retrieving revision 1.449
  diff -u -r1.448 -r1.449
  --- CHANGES	1997/09/26 03:19:28	1.448
  +++ CHANGES	1997/09/26 03:22:59	1.449
  @@ -1,4 +1,7 @@
   Changes with Apache 1.3b1
  +  
  +  *) mod_include would use uninitialized data when parsing certain
  +     expressions involving && and ||. [Brian Slesinsky] PR#1139
   
     *) mod_imap should only handle GET methods.  [Jay Bloodworth]
   
  
  
  
  1.55      +2 -0      apachen/src/modules/standard/mod_include.c
  
  Index: mod_include.c
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/modules/standard/mod_include.c,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -r1.54 -r1.55
  --- mod_include.c	1997/09/19 17:25:10	1.54
  +++ mod_include.c	1997/09/26 03:23:02	1.55
  @@ -1569,6 +1569,7 @@
                       strncpy(current->left->token.value, buffer,
                               MAX_STRING_LEN - 1);
                       current->left->token.value[MAX_STRING_LEN - 1] = '\0';
  +		    current->left->value = (current->left->token.value[0] != '\0');
                       current->left->done = 1;
                       break;
                   default:
  @@ -1584,6 +1585,7 @@
                       strncpy(current->right->token.value, buffer,
                               MAX_STRING_LEN - 1);
                       current->right->token.value[MAX_STRING_LEN - 1] = '\0';
  +		    current->right->value = (current->right->token.value[0] != '\0');
                       current->right->done = 1;
                       break;
                   default:
  
  
  

Mime
View raw message