HomeFreeBSD

pf: zero (another) output buffer in pfioctl

Description

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
MFC after: 3 days
Sponsored by: The FreeBSD Foundation

Details

Provenance
emasteAuthored on
Parents
rS350467: [PPC64] Backport fix for missing IRELATIVE relocations
Branches
Unknown
Tags
Unknown