HomeFreeBSD

MFC r350468: pf: zero (another) output buffer in pfioctl

Description

MFC r350468: pf: zero (another) output buffer in pfioctl

Avoid potential structure padding leak. r350294 identified a leak via
static analysis; although there's no report of a leak with the
DIOCGETSRCNODES ioctl it's a good practice to zero the memory.

Sponsored by: The FreeBSD Foundation

Details

Provenance
emasteAuthored on
Parents
rS358793: MFC r350468: pf: zero (another) output buffer in pfioctl
Branches
Unknown
Tags
Unknown