www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: mod_include/1139: parse_expr() evaluates some expressions containing && or || incorrectly
Date Thu, 25 Sep 1997 00:30:02 GMT
The following reply was made to PR mod_include/1139; it has been noted by GNATS.

From: Dean Gaudet <dgaudet@arctic.org>
To: Brian Slesinsky <bslesins@hotwired.com>
Subject: Re: mod_include/1139: parse_expr()  evaluates some expressions containing &&
or || incorrectly
Date: Wed, 24 Sep 1997 17:25:30 -0700 (PDT)

 
 Uh I gave a bogus patch.  Here's a corrected one. 
 
 Dean
 
 On Thu, 18 Sep 1997, Dean Gaudet wrote:
 
   --- mod_include.c.dist	Thu Sep 18 01:33:45 1997
   +++ mod_include.c	Thu Sep 18 01:40:47 1997
   @@ -1332,6 +1332,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:
   @@ -1347,6 +1348,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