httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Bloom" <...@covalent.net>
Subject RE: endless loop in filtering code
Date Wed, 06 Mar 2002 19:01:30 GMT
Yeah, I just saw that bug while trying to remove the previous pointer.
Look down about ten lines, and I had accidentally set

f->next = fscan

fscan->next = f

That was a bug.

Ryan

----------------------------------------------
Ryan Bloom                  rbb@covalent.net
645 Howard St.              rbb@apache.org
San Francisco, CA 

> -----Original Message-----
> From: Ian Holsman [mailto:ianh@apache.org]
> Sent: Wednesday, March 06, 2002 11:21 AM
> To: dev@httpd.apache.org
> Subject: endless loop in filtering code
> 
> in utl_filter.c:351
> I just got into a loop where first == first->next
> the filter was subreq_core
> 
>                  if (*r_filters != *c_filters) {
>                      first = *r_filters;
>                      while (first && (first->next != (*outf))) {
>                          first = first->next;
>                      }
>                  }



Mime
View raw message