Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD master CVS tree commits



lukem
Tue May 20 08:46:06 PDT 1997
Update of /cvsroot/src/lib/libc/gen
In directory netbsd1:/var/slash-tmp/cvs-serv4205

Modified Files:
        getgrent.c 
Log Message:
* ensure that "outdata" values to various yp_xxx() functions are set
  to the null pointer before invocation, so that the test in the
  error case of "if (outdata != NULL) free(outdata)" won't potentially
  try and free memory that wasn't malloc()ed.
* factor some duplicated code out of both parts of an "if {} else {}"
  construct.
* remove use of `register' & KNFify.




Home | Main Index | Thread Index | Old Index