HomeFreeBSD

pf: fix overly large memcpy()

Description

pf: fix overly large memcpy()

We only want to copy the labels array, we don't want to copy the counter as well.

Reported by: CheriBSD
Event: Kitchener-Waterloo Hackathon 202406

Details

Provenance
kpAuthored on Tue, Jun 4, 3:29 PM
Parents
rG4779b16fa61f: pf: fix overly large copy in pf_rule_to_krule()
Branches
Unknown
Tags
Unknown