not get set to unsanitized values.
+2009-04-19 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/login.c: Added comment to make sure PAM_RHOST or PAM_TTY do
+ not get set to unsanitized values.
+
2009-04-17 Paul Szabo <psz@maths.usyd.edu.au>
* NEWS, src/login.c: Do not trust the current utmp entry's ut_line
* hostname & tty are either set to NULL or their correct values,
* depending on how much we know. We also set PAM's fail delay to
* ours.
+ *
+ * PAM_RHOST and PAM_TTY are used for authentication, only use
+ * information coming from login or from the caller (e.g. no utmp)
*/
retcode = pam_set_item (pamh, PAM_RHOST, hostname);
PAM_FAIL_CHECK;