HomeFreeBSD

MFC r353569:

Description

MFC r353569:

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)
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D21971

Details

Provenance
brooksAuthored on
Differential Revision
D21971: rpcgen: make compiler arglist allocation dynamic
Parents
rS353938: Add missing M_NOWAIT flag
Branches
Unknown
Tags
Unknown