summaryrefslogtreecommitdiffstats
path: root/lib/libc/yp/ypmatch_cache.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Wrap <rpcsvc/ypclnt.h> so that calls go direct and the symbols are all weakguenther2015-09-131-1/+3
|
* Move to the <limits.h> universe.deraadt2015-01-161-2/+2
| | | | review by millert, binary checking process with doug, concept with guenther
* Two minor bug fixes rotting in my tree:schwarze2009-11-011-11/+8
| | | | | | | | | (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@
* In case of memory exhaustion, ypmatch_add may both leak memory and leaveschwarze2009-06-061-36/+28
| | | | | | invalid data on the list, inviting later NULL pointer access. noticed by deraadt@, algorithm proposed by millert, implemented by me; feedback and ok millert@
* malloc(3) failure should raise YPERR_RESRC, not YPERR_YPERR;schwarze2009-06-051-3/+3
| | | | ok millert@
* - remove rcsidespie2005-08-051-10/+3
| | | | | | | - put all the YPMATCHCACHE code into a #ifdef, proper - remove all extra header files that are not needed okay deraadt@
* Move static funcion and variable declarations from header to themarc2003-06-251-2/+12
| | | | | .c file where they are used. Gets rid of YPMATCHCACHE define. Sure deraadt@
* remove terms 3 & 4 on my own softwarederaadt2003-06-021-6/+1
|
* if ypmatch_add sees short keys or values, abort earlyderaadt2002-07-311-1/+4
|
* ansideraadt2002-07-201-30/+10
|
* for yp_match() and yp_next(), do not permit keys longer than YPMAXRECORDderaadt1998-01-201-3/+4
|
* never bitch about first failurederaadt1996-12-031-5/+7
|
* Remove dead codetholo1996-09-151-1/+2
| | | | | | Remove unused variables Silence some warnings lint(1) is your friend
* Fix RCS idstholo1996-08-191-4/+2
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* update rcsidderaadt1996-07-011-3/+2
|
* repair return values, more checkingderaadt1996-05-221-8/+19
|
* yp_prot.h lies -> use yp.h (from yp.x) instead, change lots of structurederaadt1996-04-241-0/+288
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.