aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-09-14 22:04:05 +0000
committerUlrich Drepper <drepper@redhat.com>1998-09-14 22:04:05 +0000
commitd3f8acb39b5b7f7390ac7e6c5d09648837683d5f (patch)
tree56c4a3a82f76e92bed34868013245faed2e1d3b4
parent0a1590ba5303470ec70dda95fe31d737c9e6246b (diff)
downloadglibc-d3f8acb39b5b7f7390ac7e6c5d09648837683d5f.tar
glibc-d3f8acb39b5b7f7390ac7e6c5d09648837683d5f.tar.gz
glibc-d3f8acb39b5b7f7390ac7e6c5d09648837683d5f.tar.bz2
glibc-d3f8acb39b5b7f7390ac7e6c5d09648837683d5f.zip
Update.
1998-09-14 Ulrich Drepper <drepper@cygnus.com> * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
-rw-r--r--ChangeLog4
-rw-r--r--nscd/TODO2
-rw-r--r--nscd/pwdcache.c2
3 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index e8ba7be89a..e589cd57d6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1998-09-14 Ulrich Drepper <drepper@cygnus.com>
+
+ * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
+
1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
diff --git a/nscd/TODO b/nscd/TODO
index 16c2835468..a0b8427ad3 100644
--- a/nscd/TODO
+++ b/nscd/TODO
@@ -1,6 +1,4 @@
-* We should use readv/writev for group entries, too
-
* If we have reached the max. # of process, close accept socket.
! THIS COULD CAUSE THE KERNEL TO HANG ! BE CAREFUL !
diff --git a/nscd/pwdcache.c b/nscd/pwdcache.c
index e2bf73afc1..9b7c0a040a 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));