HomeFreeBSD

pf: Improve ioctl validation

Description

pf: Improve ioctl validation

Ensure that multiplications for memory allocations cannot overflow, and
that we'll not try to allocate M_WAITOK for potentially overly large
allocations.

MFC after: 1 week

Details

Provenance
kpAuthored on
Parents
rS332141: MFC r330056: libsa: replace remaining _write callbacks by null_write
Branches
Unknown
Tags
Unknown