HomeFreeBSD

bridge_do_pfctl: allocate mib_name dynamically using asprintf

Description

bridge_do_pfctl: allocate mib_name dynamically using asprintf

This is being done to reduce wasted space, simplify complexity in
the code, and to quell a Coverity warning about buffer overruns.
warning about buffer overruns.

MFC after: 1 week
Reported by: Coverity
CID: 1006736

Details

Provenance
ngieAuthored on
Parents
rS311292: Remove dead code in rpc_parse.c
Branches
Unknown
Tags
Unknown