Re: PATCH: url_path regex fix

From: Robert Collins <robert.collins@dont-contact.us>
Date: Wed, 25 Apr 2001 08:45:41 +1000

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 Tue Apr 24 2001 - 16:44:58 MDT

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