HomeFreeBSD

pfctl: Don't allow embedded nul characters in strings.

Description

pfctl: Don't allow embedded nul characters in strings.

Fixes a pfctl crash with an anchor name containing
an embedded nul found with the afl fuzzer.

pfctl parse.y patch from and ok deraadt@

Obtained from: OpenBSD, jsg <jsg@openbsd.org>, 41eef22fad
Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Feb 12 2025, 4:36 PM
Parents
rGb0ba95a9ce57: pf: remove now unnecessary casts from hash update calls
Branches
Unknown
Tags
Unknown