aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvorlon <Unknown>2007-09-02 18:25:16 +0000
committervorlon <Unknown>2007-09-02 18:25:16 +0000
commitdbfd06432ba3efe3b876c018e81a2e08cca84188 (patch)
treeb43ddac0d9175394d37adb2eeb0dc51406e447e2
parentc132b3311e94cb18f6c01f204b1c6d4ef4854332 (diff)
downloadpam-dbfd06432ba3efe3b876c018e81a2e08cca84188.tar.gz
pam-dbfd06432ba3efe3b876c018e81a2e08cca84188.tar.bz2
pam-dbfd06432ba3efe3b876c018e81a2e08cca84188.zip
fix another thinko in the getline handling.
-rw-r--r--changelog3
-rw-r--r--patches-applied/038_support_hurd2
2 files changed, 3 insertions, 2 deletions
diff --git a/changelog b/changelog
index 81aebd59..462ce889 100644
--- a/changelog
+++ b/changelog
@@ -14,8 +14,9 @@ pam (0.99.7.1-5) UNRELEASED; urgency=low
been obsoleted.
* Fix up the comments in /etc/pam.d/common-password to make it clear that
the options are specific to pam_unix. Closes: #414559.
+ * Patch 038: fix another thinko in the getline handling.
- -- Steve Langasek <vorlon@debian.org> Sat, 01 Sep 2007 11:42:08 -0700
+ -- Steve Langasek <vorlon@debian.org> Sun, 02 Sep 2007 11:24:06 -0700
pam (0.99.7.1-4) unstable; urgency=low
diff --git a/patches-applied/038_support_hurd b/patches-applied/038_support_hurd
index f5303a41..52e04327 100644
--- a/patches-applied/038_support_hurd
+++ b/patches-applied/038_support_hurd
@@ -29,7 +29,7 @@ Index: Linux-PAM/modules/pam_rhosts/pam_rhosts_auth.c
+ size_t buflen=0;
- buf[sizeof (buf)-1] = '\0'; /* terminate line */
-+ while (getline(&buf,&buflen,hostf) < 0) {
++ while (getline(&buf,&buflen,hostf) > 0) {
+#else
+ char buf[MAXHOSTNAMELEN + 128]; /* host + login */