Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/pam_ssh/files: pam_ssh-1.97-EOF.patch
Date: Sun, 31 Oct 2010 17:54:10
Message-Id: 20101031175405.A77DD20051@flycatcher.gentoo.org
1 flameeyes 10/10/31 17:54:05
2
3 Added: pam_ssh-1.97-EOF.patch
4 Log:
5 Finally fix bug #266603; thanks to Kevin Lyles for reporting, and the anonymous user for the patch.
6
7 (Portage version: 2.2.0_alpha2/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 sys-auth/pam_ssh/files/pam_ssh-1.97-EOF.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_ssh/files/pam_ssh-1.97-EOF.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_ssh/files/pam_ssh-1.97-EOF.patch?rev=1.1&content-type=text/plain
14
15 Index: pam_ssh-1.97-EOF.patch
16 ===================================================================
17 --- pam_ssh-1.92.orig/pam_get_pass.c 2004-02-19 19:59:05.000000000 +0100
18 +++ pam_ssh-1.92/pam_get_pass.c 2009-04-18 13:51:10.000000000 +0200
19 @@ -63,6 +63,8 @@
20 retval = conv->conv(1, msgs, &resp, conv->appdata_ptr);
21 if (retval != PAM_SUCCESS)
22 return retval;
23 + if (resp[0].resp == NULL)
24 + return PAM_AUTHTOK_RECOVERY_ERR;
25 retval = pam_set_item(pamh, PAM_AUTHTOK, resp[0].resp);
26 if (retval != PAM_SUCCESS)
27 return retval;