K 10 svn:author V 5 wpaul K 8 svn:date V 27 1997-03-29T20:29:12.000000Z K 7 svn:log V 384 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. END