[Pkg-shadow-commits] r2927 - in upstream/trunk: . src
Nicolas FRANÇOIS
nekral-guest at alioth.debian.org
Sat May 16 15:43:13 UTC 2009
Author: nekral-guest
Date: 2009-05-16 15:43:13 +0000 (Sat, 16 May 2009)
New Revision: 2927
Modified:
upstream/trunk/ChangeLog
upstream/trunk/src/login.c
Log:
* src/login.c: Fix failure of non PAM enabled versions when an
empty username is entered after a first prompt.
Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog 2009-05-16 15:39:01 UTC (rev 2926)
+++ upstream/trunk/ChangeLog 2009-05-16 15:43:13 UTC (rev 2927)
@@ -1,5 +1,10 @@
2009-05-16 Nicolas François <nicolas.francois at centraliens.net>
+ * src/login.c: Fix failure of non PAM enabled versions when an
+ empty username is entered after a first prompt.
+
+2009-05-16 Nicolas François <nicolas.francois at centraliens.net>
+
* src/passwd.c: Added missing end of line at the end of success
messages.
Modified: upstream/trunk/src/login.c
===================================================================
--- upstream/trunk/src/login.c 2009-05-16 15:39:01 UTC (rev 2926)
+++ upstream/trunk/src/login.c 2009-05-16 15:43:13 UTC (rev 2927)
@@ -913,6 +913,7 @@
* anymore. */
if (NULL != pwd) {
pw_free (pwd);
+ pwd = NULL;
}
if (NULL != spwd) {
spw_free (spwd);
More information about the Pkg-shadow-commits
mailing list