NetBSD/lib/libc/yp
lukem 301e6e6c32 Some cleanups for [lib/3655]
* Ensure that all 'char **outXXX' pointers aren't the null pointer before use.
* Set *outXXX=NULL before checking any other arguments.
* Document that *outXXX will always be NULL or a malloc(3)ed string
  unless outXXX was NULL (in which case YPERR_BADARGS will be returned
  and the caller shouldn't attempt to free(*outXXX) if *outXXX != NULL;

These changes should prevent most occurances of coredumps when a bad
argument was given to a yp client function and the caller attempts to
free an outvalue that isn't the null pointer. To be really safe, the
caller probably should set the *outvalue=NULL anyway (ref: PR [lib/3580])
1997-05-20 15:25:38 +00:00
..
Makefile.inc
xdryp.c
yp_all.c
yp_first.c Some cleanups for [lib/3655] 1997-05-20 15:25:38 +00:00
yp_maplist.c
yp_master.c Some cleanups for [lib/3655] 1997-05-20 15:25:38 +00:00
yp_match.c Some cleanups for [lib/3655] 1997-05-20 15:25:38 +00:00
yp_order.c
ypclnt.3 Some cleanups for [lib/3655] 1997-05-20 15:25:38 +00:00
yperr_string.c
yplib.c
ypprot_err.c