freebsd-nq/usr.bin/rpcgen
Brooks Davis 7c8b268a12 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
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
rpc_parse.h
rpc_sample.c
rpc_scan.c
rpc_scan.h
rpc_svcout.c
rpc_tblout.c
rpc_util.c
rpc_util.h
rpcgen.1