You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ha...@ooo.lanl.gov> on 1996/05/06 17:24:05 UTC

bug in mod_log_referer.c

I noticed a bug in mod_log_referer.c

It was not checking a 2nd ignore string I gave it. The code that's
stepping through the list of ignore strings looks hosed... Seems to be
doing an erroneous comparison in order to determine the end of the loop
that steps through the list  (line 200)

The comments preceeding this say

          /* The following is an upsetting mess of pointers, I'm sorry
             Anyone with the motiviation and/or the time should feel free
             to make this cleaner... */

It needs to be made cleaner now  :-)

If anyone can see the error just my glancing at the code, please
point it out, otherwise I'll rearrange the code to use a simple
for n=first to last   loop to grab each ignore string from the list.


rob
--
   Windows NT  -  where programs go to die.