[85] in testers
libacl library: vax 6.3a
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Fri Jul 14 22:53:14 1989
To: testers@ATHENA.MIT.EDU
Date: Fri, 14 Jul 89 22:52:56 EDT
From: Tom Coppeto <tjcoppet@ATHENA.MIT.EDU>
When an acl file does not exist, and the cache is full, the
load_acl() proc does not zero the hash table pointer. This
causes certain olc servers to die unexpectedly.
***************
*** 386,395 ****
i = acl_cache_next;
acl_cache_next = (acl_cache_next + 1) % CACHED_ACLS;
close(acl_cache[i].fd);
! if(acl_cache[i].acl) {
! destroy_hash(acl_cache[i].acl);
! acl_cache[i].acl = (struct hashtbl *) 0;
! }
}
/* Set up the acl */
--- 386,392 ----
i = acl_cache_next;
acl_cache_next = (acl_cache_next + 1) % CACHED_ACLS;
close(acl_cache[i].fd);
! if(acl_cache[i].acl) destroy_hash(acl_cache[i].acl);
}
- Tom