Bill Paul 1d2493ff77 Small yet significant tweaks/cleanups:
- getpwent:
  o adjunctbuf should be NUL terminated after copying
  o _pw_breakout_yp() needs to know the length of the buffer returned
    from YP so it can properly NUL terminate its local buffer.

- getgrent:
  o YP buffers should be YPMAXRECORD + 2 bytes long and NUL terminated.
    (Previously they were hardcoded to 1024 bytes.)

- getnetgrent:
  o YP data should be copied with snprintf(), not sprintf()

These are 2.2 candidates. I will wait a few days to make sure these don't
break anything and then, if there are no objections, move them to the 2.2
branch.
1996-12-27 19:28:46 +00:00
..
1996-10-14 08:34:02 +00:00
1996-09-05 17:16:10 +00:00
1996-12-13 07:55:14 +00:00
1996-11-11 08:28:47 +00:00
1996-12-23 23:09:55 +00:00
1996-12-23 23:09:55 +00:00
1996-09-05 17:16:10 +00:00