Re: PATCH: url_path regex fix

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 22 Oct 2001 03:23:50 +0200

Committed, along with new similar errors.

Regards
Henrik

Robert Collins wrote a long time ago:
>
> Found another NULL dereference.
>
> Index: acl.c
> ===================================================================
> RCS file: /cvsroot/squid/squid/src/acl.c,v
> retrieving revision 1.29
> diff -u -p -r1.29 acl.c
> --- acl.c 2001/04/06 06:49:27 1.29
> +++ acl.c 2001/04/24 22:44:21
> @@ -1449,6 +1449,8 @@ aclMatchAcl(acl * ae, aclCheck_t * check
> case ACL_DST_DOMAIN:
> case ACL_DST_DOM_REGEX:
> case ACL_URLPATH_REGEX:
> + case ACL_BROWSER:
> + case AC_URL_REGEX:
> case ACL_URL_PORT:
> case ACL_PROTO:
> case ACL_METHOD:
>
> ----- Original Message -----
> From: "Robert Collins" <robert.collins@itdomain.com.au>
> To: <squid-dev@squid-cache.org>
> Sent: Wednesday, April 25, 2001 8:35 AM
> Subject: PATCH: url_path regex fix
>
> > * acl.c (aclMatchAcl): Prevent NULL dereference for URL_REGEX
> acls.
> >
> > Index: acl.c
> > ===================================================================
> > RCS file: /cvsroot/squid/squid/src/acl.c,v
> > retrieving revision 1.29
> > diff -u -p -r1.29 acl.c
> > --- acl.c 2001/04/06 06:49:27 1.29
> > +++ acl.c 2001/04/24 22:33:56
> > @@ -1449,6 +1449,7 @@ aclMatchAcl(acl * ae, aclCheck_t * check
> > case ACL_DST_DOMAIN:
> > case ACL_DST_DOM_REGEX:
> > case ACL_URLPATH_REGEX:
> > + case AC_URL_REGEX:
> > case ACL_URL_PORT:
> > case ACL_PROTO:
> > case ACL_METHOD:
> >
> >
> >
Received on Sun Oct 21 2001 - 20:06:06 MDT

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