Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Mar 1997 12:29:14 -0800 (PST)
From:      Bill Paul <wpaul>
To:        CVS-committers, cvs-all, cvs-usrbin
Subject:   cvs commit:  src/usr.bin/passwd yp_passwd.c src/usr.bin/chpass pw_yp.c
Message-ID:  <199703292029.MAA11396@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
wpaul       97/03/29 12:29:14

  Modified:    usr.bin/passwd  yp_passwd.c
               usr.bin/chpass  pw_yp.c
  Log:
  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.
  
  Revision  Changes    Path
  1.12      +2 -1      src/usr.bin/passwd/yp_passwd.c
  1.10      +3 -2      src/usr.bin/chpass/pw_yp.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703292029.MAA11396>