This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.12-89-g805bc17
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 7 Aug 2010 02:19:27 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.12-89-g805bc17
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 805bc17d6883bf6d47e49620d6f8e1b97cac9901 (commit)
via c86434ccb576a3ce35b5a74f72b9f03bd45b522a (commit)
from fd3ebedafc751998b4596d0277a704c41988d10b (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=805bc17d6883bf6d47e49620d6f8e1b97cac9901
commit 805bc17d6883bf6d47e49620d6f8e1b97cac9901
Author: Ulrich Drepper <drepper@redhat.com>
Date: Fri Aug 6 19:19:06 2010 -0700
CL
diff --git a/ChangeLog b/ChangeLog
index ee565af..012efd8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-08-06 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
+ Also fail if tpwd after pwuid call is NULL.
+
2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
* hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=c86434ccb576a3ce35b5a74f72b9f03bd45b522a
commit c86434ccb576a3ce35b5a74f72b9f03bd45b522a
Author: Ulrich Drepper <drepper@redhat.com>
Date: Fri Aug 6 19:18:05 2010 -0700
(__getlogin_r_loginuid): Also fail if tpwd after pwuid call is NULL.
diff --git a/sysdeps/unix/sysv/linux/getlogin_r.c b/sysdeps/unix/sysv/linux/getlogin_r.c
index 7d4d6c0..42041ee 100644
--- a/sysdeps/unix/sysv/linux/getlogin_r.c
+++ b/sysdeps/unix/sysv/linux/getlogin_r.c
@@ -81,7 +81,7 @@ __getlogin_r_loginuid (name, namesize)
use_malloc = true;
}
- if (res != 0)
+ if (res != 0 || tpwd == NULL)
{
result = -1;
goto out;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
sysdeps/unix/sysv/linux/getlogin_r.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources