From: amosjeffries <> Date: Wed, 27 Feb 2008 17:04:51 +0000 (+0000) Subject: Author: rousskov X-Git-Tag: SQUID_3_0_STABLE2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=104290daf6526e2624d01b155b5fd47700e59a11;p=thirdparty%2Fsquid.git Author: rousskov Assert that checklist and request are set instead of segfaulting as in bug 2168 --- diff --git a/src/ACLDestinationDomain.cc b/src/ACLDestinationDomain.cc index 68739f53bb..a8b32efd86 100644 --- a/src/ACLDestinationDomain.cc +++ b/src/ACLDestinationDomain.cc @@ -1,5 +1,5 @@ /* - * $Id: ACLDestinationDomain.cc,v 1.15 2007/11/03 04:49:53 wessels Exp $ + * $Id: ACLDestinationDomain.cc,v 1.15.2.1 2008/02/27 10:04:51 amosjeffries Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -76,6 +76,8 @@ ACLStrategised ACLDestinationDomain::RegexRegistryEntry_(new ACLRe int ACLDestinationDomainStrategy::match (ACLData * &data, ACLChecklist *checklist) { + assert(checklist != NULL && checklist->request != NULL); + const ipcache_addrs *ia = NULL; const char *fqdn = NULL;