From: Jeff Trawick Date: Fri, 15 Sep 2000 16:50:39 +0000 (+0000) Subject: Fix a bug parsing configuration file containers. With a sequence X-Git-Tag: APACHE_2_0_ALPHA_7~156 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a2e34443e6b58b4760ced6a382d86d377db17e1;p=apache Fix a bug parsing configuration file containers. With a sequence like this in the config file any stuff (blank line) any stuff the second container would be terminated at the blank line due to sediment in the buffer from reading the prior and an error message would be generated for the real for the second container. Also due to this problem, any two characters could be used for "", NULL); - while(!(ap_cfg_getline(l, MAX_STRING_LEN, parms->config_file))) { - if ((strcasecmp(l + 2, bracket) == 0) && + while (!(ap_cfg_getline(l, MAX_STRING_LEN, parms->config_file))) { + if (!memcmp(l, "