Olivier Houchard 8f9370b050 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
2006-03-28 15:30:42 +00:00
..
2005-11-18 12:08:31 +00:00
2005-11-18 10:36:29 +00:00
2005-11-18 10:36:29 +00:00
2005-08-25 13:44:02 +00:00
2005-12-29 04:23:54 +00:00
2005-11-18 10:36:29 +00:00
2005-11-18 10:36:29 +00:00
2005-11-18 10:36:29 +00:00
2005-11-13 21:03:56 +00:00
2005-11-18 10:36:29 +00:00
2005-06-14 11:50:53 +00:00
2006-03-18 10:40:28 +00:00
2006-01-05 05:57:47 +00:00
2005-06-14 11:50:53 +00:00
2006-01-23 13:49:39 +00:00
2005-08-25 14:09:35 +00:00