Jacques Vidrine 4c3c0fecae Don't use `memset' to initialize a struct passwd. A module
may not fill in all fields, and in the case of string fields, this could
cause trouble for applications.  (The only likely example is `pw_class',
because this field is not used by all modules in all cases.)

Move initialization of struct passwd from module-specific code to the
dispatch code.

The problem of a NULL pw_class was
Noticed by:	Philip Paeps <philip@paeps.cx>
                    and the c^Htrusty ssh(1) command.
Déjà vu by:	getpwent.c revision 1.56

Sponsored by:	DARPA, Network Associates Laboratories
2003-04-18 17:27:05 +00:00
..
2002-12-27 12:15:40 +00:00
2003-03-24 16:02:05 +00:00
2002-12-27 12:15:40 +00:00
2003-02-06 11:25:03 +00:00
2002-12-27 12:15:40 +00:00
2002-12-27 12:15:40 +00:00
2003-03-27 14:35:00 +00:00
2003-04-18 07:45:03 +00:00
2003-03-24 16:02:05 +00:00
2003-01-28 23:03:15 +00:00
2003-04-18 07:45:03 +00:00
2003-01-07 13:18:21 +00:00
2003-04-09 01:52:49 +00:00
2003-04-10 10:26:18 +00:00
2003-03-09 19:56:21 +00:00