freebsd-skq/usr.bin/rpcgen
brooks 5f5e69540e rpcgen: make compiler arglist allocation dynamic
Limit argmax to an absurdly large value prevent overflow (no overflow
possible on FreeBSD due to ARG_MAX).

In CheriBSD we exceed the 19 non-NULL arguments in the static array.  Add
a simple size doubling allocator and increase the default to 32.

GC remnants of support for fixed arguments.

Reviewed by:	archardson (prior version), James Clarke (prior version)
MFC after:	1 week
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D21971
2019-10-15 16:05:17 +00:00
..
Makefile
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
rpc_clntout.c
rpc_cout.c
rpc_hout.c
rpc_main.c rpcgen: make compiler arglist allocation dynamic 2019-10-15 16:05:17 +00:00
rpc_parse.c Plug two resource leaks. 2017-12-28 05:33:29 +00:00
rpc_parse.h
rpc_sample.c
rpc_scan.c Plug two resource leaks. 2017-12-28 05:33:29 +00:00
rpc_scan.h
rpc_svcout.c
rpc_tblout.c
rpc_util.c
rpc_util.h
rpcgen.1