Searched hist:157215 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11.0-release/usr.bin/login/
H A Dlogin.cdiff 157215 Tue Mar 28 15:30:42 MST 2006 cognet Don't call audit_logout() if pwd is NULL, as audit_logout() attempts to
dereference it.
This will happen if we ^D at the Login: prompt without having provided a
valid login before.
Set pwd to NULL on bad login attempts to prevent audit_logout() from being
called for a user which didn't actually log on.

Reported by: Jerome Magnin jethro at docisland dot org

Completed in 58 milliseconds