[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

xdm: Changes to 'debian-unstable'



 debian/changelog |    5 +++++
 greeter/greet.c  |    2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

New commits:
commit bf94dbb0fd07cc13b9173da3cbf886228ea8e0b9
Author: Julien Cristau <jcristau@debian.org>
Date:   Thu Apr 8 19:24:07 2010 +0200

    Add changelog entry

diff --git a/debian/changelog b/debian/changelog
index d1668c8..e71dbf5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,14 @@
 xdm (1:1.1.9-2) UNRELEASED; urgency=low
 
+  [ Cyril Brulebois ]
   * Add debian/patches/doc_mention_xdm.options.diff: mention
     xdm.options(5) in xdm(1), as suggested by Chris Pimlott some years ago
     (Closes: #135692).
 
+  [ Julien Cristau ]
+  * greeter: fix logging of failed login attempts (cherry-picked from upstream
+    git), closes: #576360.
+
  -- Cyril Brulebois <kibi@debian.org>  Mon, 05 Apr 2010 17:21:24 +0200
 
 xdm (1:1.1.9-1) unstable; urgency=low

commit 4282bb6095cac252b7426e32e8adfa72a85487ce
Author: Dmitry V. Levin <ldv@altlinux.org>
Date:   Tue Jan 12 14:38:33 2010 +0000

    greeter: fix logging of failed login attempts
    
    When PAM rejects a login attempt, the "username" variable remains
    uninitialized, which results to garbage being syslogged instead of
    login name.  Explicit initialization helps to avoid this issue.
    
    Fixes FreeDesktop Bug #26015 <https://bugs.freedesktop.org/show_bug.cgi?id=26015>
    
    Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
    (cherry picked from commit 504bb1aee60d570d8676a61acbe32c66d6069c45)

diff --git a/greeter/greet.c b/greeter/greet.c
index 17d21c8..4526933 100644
--- a/greeter/greet.c
+++ b/greeter/greet.c
@@ -503,7 +503,7 @@ greet_user_rtn GreetUser(
 	struct myconv_data pcd		= { d, greet, NULL };
 	struct pam_conv   pc 		= { pamconv, &pcd };
 	const char *	  pam_fname;
-	char *		  username;
+	char *		  username	= NULL;
 	const char *	  login_prompt;
 
 


Reply to: