HomeFreeBSD

pf tests: pass NULL buffer to DIOCRCLRTSTATS

Description

pf tests: pass NULL buffer to DIOCRCLRTSTATS

As discovered by syzcaller this used to provoke panics.

MFC after: 1 week

(cherry picked from commit 44117554b1ee8edd66d7383c17802d5799fd18f2)

Details

Provenance
kpAuthored on Jan 13 2021, 6:41 PM
Parents
rGc325366474d9: pf: Don't hold PF_RULES_WLOCK during copyin() on DIOCRCLRTSTATS
Branches
Unknown
Tags
Unknown