acl searching bugs in squid 1.NOVM.21

From: Pedro Ribeiro <pribeiro@dont-contact.us>
Date: Tue, 17 Mar 1998 10:28:25 -0000

Here goes the result from make:

gcc -g -O2 -Wall -I. -I../include -I./../include -DCACHEMGR_HOSTNAME="getful
lhos
tname()" -DUSE_PROXY_AUTH=1 -DUSE_ICMP=1 -DDELAY_HACK=1 -DUSE_USERAGENT_LOG
=1
 -DUSE_SPLAY_TREE -DRELOAD_INTO_IMS -c acl.c -o acl.o
acl.c: In function `aclParseIpData':
acl.c:327: structure has no member named `next'
acl.c: In function `aclParseIpList':
acl.c:381: structure has no member named `next'
make[1]: *** [acl.o] Error 1
make[1]: Leaving directory `/home/pribeiro/squid-1.NOVM.21/src'
make: *** [all] Error 1

I'v already found this same bug in the devel version 1.2.x

it seems that acl.c is trying to use a member of struct _acl_ip_data that
doesn't exist in SPLAY trees ...

>src/acl.h
>
>struct _acl_ip_data {
> struct in_addr addr1; /* if addr2 non-zero then its a range */
> struct in_addr addr2;
> struct in_addr mask;
>#ifndef USE_SPLAY_TREE
> struct _acl_ip_data *next;
>#endif
>};

I hope this would help ...

[]---------------------------------------------------------------[]
  Pedro Ribeiro
  Online: http://www.cc.isel.pt/Pessoais/PedroRibeiro
  IRC(PTnet) Nick: PAntMaR
  e-Mail: Personal: pribeiro@cc.isel.pt
          Admin: admin@isel.pt
          Pager: pribeiro.pager@cc.isel.pt
          (PS: Short, NO MS Trash, plain text only, NO MIME Stuff)
  Tel: +351-1-8317128 / Fax: +351-1-8317171
[]---------------------------------------------------------------[]
Received on Tue Mar 17 1998 - 02:34:48 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:24 MST