]> git.ipfire.org Git - thirdparty/nftables.git/commit
netlink: fix use-after-free netlink_events_cache_deltable()
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 16 Jun 2015 16:10:53 +0000 (18:10 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 16 Jun 2015 16:11:15 +0000 (18:11 +0200)
commit9f06d928d32155fde97bc3ad6d7ca7f78eb6cf67
treea2ee772f61af64fc456cfaa0fc058fe75f3f78e2
parent2baf59cfe686877ced6adee5f2b0d50c1a1c9845
netlink: fix use-after-free netlink_events_cache_deltable()

h.table stores a pointer to a nftnl table object that is gone just after
assignment. Release this object once its content is not referenced anymore.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/netlink.c