rpms/krb5/devel krb5-1.6.1-pam.patch,1.3,1.4
Nalin Somabhai Dahyabhai (nalin)
fedora-extras-commits at redhat.com
Tue Jul 17 21:03:06 UTC 2007
- Previous message (by thread): rpms/perl-IO-Compress-Bzip2/devel perl-IO-Compress-Bzip2.spec, 1.2, 1.3
- Next message (by thread): rpms/device-mapper/devel device-mapper.1.02.21.tgz.asc, NONE, 1.1 .cvsignore, 1.24, 1.25 device-mapper.spec, 1.59, 1.60 sources, 1.29, 1.30 upstream, 1.20, 1.21 device-mapper.1.02.17.tgz.asc, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: nalin
Update of /cvs/pkgs/rpms/krb5/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22490
Modified Files:
krb5-1.6.1-pam.patch
Log Message:
- truncate the echoed string at the newline, not at the first non-cr/lf
krb5-1.6.1-pam.patch:
Index: krb5-1.6.1-pam.patch
===================================================================
RCS file: /cvs/pkgs/rpms/krb5/devel/krb5-1.6.1-pam.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- krb5-1.6.1-pam.patch 25 Jun 2007 00:50:30 -0000 1.3
+++ krb5-1.6.1-pam.patch 17 Jul 2007 21:02:32 -0000 1.4
@@ -441,7 +441,7 @@
+ if (message->msg_style == PAM_PROMPT_ECHO_ON) {
+ if (fgets(pwbuf, sizeof(pwbuf),
+ stdin) != NULL) {
-+ pwbuf[strspn(pwbuf, "\r\n")] = '\0';
++ pwbuf[strcspn(pwbuf, "\r\n")] = '\0';
+ pwstring = pwbuf;
+ }
+ } else {
- Previous message (by thread): rpms/perl-IO-Compress-Bzip2/devel perl-IO-Compress-Bzip2.spec, 1.2, 1.3
- Next message (by thread): rpms/device-mapper/devel device-mapper.1.02.21.tgz.asc, NONE, 1.1 .cvsignore, 1.24, 1.25 device-mapper.spec, 1.59, 1.60 sources, 1.29, 1.30 upstream, 1.20, 1.21 device-mapper.1.02.17.tgz.asc, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list