GNU C Library master sources branch, master, updated. glibc-2.12-33-gcaa78cf

drepper@sourceware.org drepper@sourceware.org
Mon Jun 14 23:55:00 GMT 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  caa78cf824f98d6f02f2e39cb9cf253c8553946f (commit)
      from  46658a1cbccb564942a147a747a7579099773764 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=caa78cf824f98d6f02f2e39cb9cf253c8553946f

commit caa78cf824f98d6f02f2e39cb9cf253c8553946f
Author: Andreas Schwab <schwab@redhat.com>
Date:   Mon Jun 14 16:54:43 2010 -0700

    Fix use of extend_alloca in NIS

diff --git a/ChangeLog b/ChangeLog
index 7b25c3f..e2b4da2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/nis/nss_nis/nis-initgroups.c b/nis/nss_nis/nis-initgroups.c
index a5a3ba6..85b9eee 100644
--- a/nis/nss_nis/nis-initgroups.c
+++ b/nis/nss_nis/nis-initgroups.c
@@ -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;

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                    |    4 ++++
 nis/nss_nis/nis-initgroups.c |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources



More information about the Glibc-cvs mailing list