Bill Paul e49249921c Fix for PR #3141: check for NULL before strdup()ing pw->pw_class.
(I'm not sure why this happens, though I suspect it may be because
the server is configured with only passwd maps instead of both passwd
and master.passwd maps. This is allowed, but I think in this case
pw_class is left NULL, hence the problem.)

Also applied similar patch to chpass/pw_yp.c just for paranoia's sake.
1997-03-29 20:29:12 +00:00
..
1997-01-15 23:25:55 +00:00
1994-05-27 12:33:43 +00:00
1994-05-27 12:33:43 +00:00
1994-05-27 12:33:43 +00:00
1997-02-22 19:58:13 +00:00