freebsd-dev/sys/netpfil/pf
Franco Fichtner a37e0e6de6 pf: fix more syncookie memory leaks
Allocate memory for packed nvlists in M_NVLIST, as nvlist_pack() does
this as well, and we use the same variable interchangable with the
memory we allocate. When we free it we can end up freeing from the wrong
zone, leaking memory.

Reviewed by:	kp
Differential Revision:	https://reviews.freebsd.org/D35385
2022-06-02 20:17:25 +02:00
..
if_pflog.c if_pflog: fix packet length 2021-12-04 08:42:55 +01:00
if_pfsync.c pfsync: NULL check before dereference 2022-04-21 17:59:45 +02:00
in4_cksum.c
pf_altq.h pf: qid and pqid can be uint16_t 2021-09-10 17:07:57 +02:00
pf_if.c pf: remove pointless NULL check 2022-04-21 17:59:45 +02:00
pf_ioctl.c pf: fix more syncookie memory leaks 2022-06-02 20:17:25 +02:00
pf_lb.c pf: protect the rpool from races 2022-01-14 10:30:33 +01:00
pf_mtag.h pf: tag dummynet'd route-to packets with their real destination 2022-05-12 21:50:10 +02:00
pf_norm.c pf: remove unused variables 2021-11-23 16:44:37 +01:00
pf_nv.c pf: Add per-rule timestamps for rule and eth_rule 2022-04-22 19:53:20 +02:00
pf_nv.h pf: Initial Ethernet level filtering code 2022-03-02 17:00:03 +01:00
pf_osfp.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
pf_ruleset.c pf: add anchor support for ether rules 2022-03-02 17:00:07 +01:00
pf_syncookies.c pf: fix more syncookie memory leaks 2022-06-02 20:17:25 +02:00
pf_table.c pf: counter argument to pfr_pool_get() may never be NULL 2022-04-21 17:59:45 +02:00
pf.c pf: fix a race against kif destruction in pf_test{,6} 2022-05-31 20:11:39 +00:00
pf.h pf: import pf_set_protostate() from OpenBSD 2021-09-01 12:02:19 +02:00