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.

Suggested by: kp
Sponsored by: The FreeBSD Foundation

Details

Provenance
emasteAuthored on
Parents
rS358792: MFC r350294: pf: zero output buffer in pfioctl
Branches
Unknown
Tags
Unknown