1998-09-14  Ulrich Drepper  <drepper@cygnus.com>

	* nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
This commit is contained in:
Ulrich Drepper 1998-09-14 22:04:05 +00:00
parent 0a1590ba53
commit d3f8acb39b
3 changed files with 5 additions and 3 deletions

View File

@ -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.

View File

@ -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 !

View File

@ -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));