]> git.pld-linux.org Git - packages/squid.git/blame - squid-2.5.STABLE3-external_acl_ident.patch
- updated to 2.5.STABLE13
[packages/squid.git] / squid-2.5.STABLE3-external_acl_ident.patch
CommitLineData
f33a2ff1
AM
1Index: squid/src/external_acl.c
2diff -c squid/src/external_acl.c:1.1.2.25 squid/src/external_acl.c:1.1.2.26
3*** squid/src/external_acl.c:1.1.2.25 Sat May 17 12:35:25 2003
4--- squid/src/external_acl.c Tue Jun 17 01:18:16 2003
5***************
6*** 417,422 ****
7--- 417,426 ----
8 }
9 }
10 key = makeExternalAclKey(ch, acl);
11+ if (!key) {
12+ /* Not sufficient data to process */
13+ return -1;
14+ }
15 ch->auth_user_request = NULL;
16 if (entry) {
17 if (entry->def != acl->def || strcmp(entry->hash.key, key) != 0) {
18***************
19*** 507,513 ****
20 #if USE_IDENT
21 case EXT_ACL_IDENT:
22 str = ch->rfc931;
23! if (!str) {
24 ch->state[ACL_IDENT] = ACL_LOOKUP_NEEDED;
25 return NULL;
26 }
27--- 511,517 ----
28 #if USE_IDENT
29 case EXT_ACL_IDENT:
30 str = ch->rfc931;
31! if (!str || !*str) {
32 ch->state[ACL_IDENT] = ACL_LOOKUP_NEEDED;
33 return NULL;
34 }
This page took 0.065622 seconds and 4 git commands to generate.