Fix use of extend_alloca in NIS

This commit is contained in:
Andreas Schwab 2010-06-14 16:54:43 -07:00 committed by Ulrich Drepper
parent 46658a1cbc
commit caa78cf824
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-06-02 Andreas Schwab <schwab@redhat.com>
* nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
2010-06-14 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ

View File

@ -139,7 +139,7 @@ get_uid (const char *user, uid_t *uidp)
if (r != ERANGE)
break;
extend_alloca (buf, buflen, 2 * buflen);
buf = extend_alloca (buf, buflen, 2 * buflen);
}
return 1;