about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-06-19 09:54:28 -0700
committerUlrich Drepper <drepper@redhat.com>2010-06-19 09:54:28 -0700
commit63c4ed22b5048c8701d8806026c23cc95f0df756 (patch)
tree65f3c6559d0329a649d4c2474e3216d4bb89d22d /ChangeLog
parent765ade4b29d9fcc4b236b4f3ae5bfd1174978442 (diff)
downloadglibc-63c4ed22b5048c8701d8806026c23cc95f0df756.tar.gz
glibc-63c4ed22b5048c8701d8806026c23cc95f0df756.tar.xz
glibc-63c4ed22b5048c8701d8806026c23cc95f0df756.zip
Fix error handling in Linux getlogin*.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 863a76271a..f50f11dacb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2010-06-19  Ulrich Drepper  <drepper@redhat.com>
+
+	* sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
+	OOM in getpwuid_r correctly.  Return error number when the caller
+	should return, otherwise -1.
+	(getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
+	call returning > 0 value.
+	* sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
+
 2010-06-07  Andreas Schwab  <schwab@redhat.com>
 
 	* dlfcn/Makefile: Remove explicit dependencies on libc.so and