public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-apps/shadow/files: shadow-4.1.4-login-non-pam-crash.patch
@ 2009-05-18  4:36 Mike Frysinger (vapier)
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger (vapier) @ 2009-05-18  4:36 UTC (permalink / raw
  To: gentoo-commits

vapier      09/05/18 04:36:00

  Added:                shadow-4.1.4-login-non-pam-crash.patch
  Log:
  Add fix from upstream for crash with non-pam/empty user #270213 by Ulrich Müller.
  (Portage version: 2.2_rc33/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sys-apps/shadow/files/shadow-4.1.4-login-non-pam-crash.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/shadow/files/shadow-4.1.4-login-non-pam-crash.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/shadow/files/shadow-4.1.4-login-non-pam-crash.patch?rev=1.1&content-type=text/plain

Index: shadow-4.1.4-login-non-pam-crash.patch
===================================================================
http://bugs.gentoo.org/270213

From 74c3b8df373aac8fc2a997c83f9d84790bf22a36 Mon Sep 17 00:00:00 2001
From: nekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Date: Sat, 16 May 2009 15:43:13 +0000
Subject: [PATCH] 	* src/login.c: Fix failure of non PAM enabled versions when an
 	empty username is entered after a first prompt.

diff --git a/src/login.c b/src/login.c
index abf649e..44ef8f8 100644
--- a/src/login.c
+++ b/src/login.c
@@ -913,6 +913,7 @@ int main (int argc, char **argv)
 		 * anymore. */
 		if (NULL != pwd) {
 			pw_free (pwd);
+			pwd = NULL;
 		}
 		if (NULL != spwd) {
 			spw_free (spwd);






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-apps/shadow/files: shadow-4.1.4-login-non-pam-crash.patch
@ 2009-05-23 20:42 Mike Frysinger (vapier)
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger (vapier) @ 2009-05-23 20:42 UTC (permalink / raw
  To: gentoo-commits

vapier      09/05/23 20:42:24

  Removed:              shadow-4.1.4-login-non-pam-crash.patch
  Log:
  old



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-23 20:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-18  4:36 [gentoo-commits] gentoo-x86 commit in sys-apps/shadow/files: shadow-4.1.4-login-non-pam-crash.patch Mike Frysinger (vapier)
  -- strict thread matches above, loose matches on Subject: below --
2009-05-23 20:42 Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox