| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
review by millert, binary checking process with doug, concept with guenther
|
|
|
|
|
|
|
|
|
| |
(1) When the second malloc in yp_next fails, do not leak the memory
allocated by the first one. Same fix as yp_first.c rev. 1.9.
(2) When compiled with YPMATCHCACHE, do not fail the lookup when
reserving memory for the cache fails. Instead, just return the
correct result without caching it.
ok millert@
|
|
|
|
|
|
| |
invalid data on the list, inviting later NULL pointer access.
noticed by deraadt@, algorithm proposed by millert, implemented by me;
feedback and ok millert@
|
|
|
|
| |
ok millert@
|
|
|
|
|
|
|
| |
- put all the YPMATCHCACHE code into a #ifdef, proper
- remove all extra header files that are not needed
okay deraadt@
|
|
|
|
|
| |
.c file where they are used. Gets rid of YPMATCHCACHE define.
Sure deraadt@
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Remove unused variables
Silence some warnings
lint(1) is your friend
|
|
|
|
| |
Make sure everything uses {SYS,}LIBC_SCCS properly
|
| |
|
| |
|
|
accesses to match. change xdr_domainname() and some other functions to
take "char **" instead of "char *", as rpcgen intended -- helps programs
linking against rpcgen output of yp.x. yp_all() should not free it's
return value. split xdryp.c and yplib.c into ~20 files so binaries like
"csh" need not link in functions like yp_maplist(). NIS+'s YP emulation
code lacks YPPROC_ORDER... attempt to deal nicely.
|