HomeFreeBSD

pf: zero output buffer in pfioctl

Description

pf: zero output buffer in pfioctl

Avoid potential structure padding leak.

Reported by: Vlad Tsyrklevich <vlad@tsyrklevich.net>
Reviewed by: kp
MFC after: 3 days
Security: Potential kernel memory disclosure
Sponsored by: The FreeBSD Foundation

Details

Provenance
emasteAuthored on
Parents
rS350293: Allow set MTU more than 1500 bytes.
Branches
Unknown
Tags
Unknown