diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-09-14 22:04:05 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-09-14 22:04:05 +0000 |
commit | d3f8acb39b5b7f7390ac7e6c5d09648837683d5f (patch) | |
tree | 56c4a3a82f76e92bed34868013245faed2e1d3b4 /nscd/pwdcache.c | |
parent | 0a1590ba5303470ec70dda95fe31d737c9e6246b (diff) | |
download | glibc-d3f8acb39b5b7f7390ac7e6c5d09648837683d5f.zip glibc-d3f8acb39b5b7f7390ac7e6c5d09648837683d5f.tar.gz glibc-d3f8acb39b5b7f7390ac7e6c5d09648837683d5f.tar.bz2 |
Update.
1998-09-14 Ulrich Drepper <drepper@cygnus.com>
* nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
Diffstat (limited to 'nscd/pwdcache.c')
-rw-r--r-- | nscd/pwdcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/pwdcache.c b/nscd/pwdcache.c index e2bf73a..9b7c0a0 100644 --- a/nscd/pwdcache.c +++ b/nscd/pwdcache.c @@ -110,7 +110,7 @@ cache_pwdinit () pwdtbl = calloc (modulo, sizeof (pwdhash)); if (pwdtbl == NULL) return -1; - uidtbl = calloc (modulo, sizeof (pwdhash)); + uidtbl = calloc (modulo, sizeof (uidhash)); if (uidtbl == NULL) return -1; negtbl = calloc (modulo, sizeof (neghash)); |