summaryrefslogtreecommitdiffstats
path: root/src/rule.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-10-04 21:33:48 +0200
committerPhil Sutter <phil@nwl.cc>2019-10-15 19:19:39 +0200
commit0d5bb960b2f953c71fff15f88c8f0c331a1fa965 (patch)
treecf26a6d93f4de9ae9b76693c5ba28ab5b515a621 /src/rule.c
parent14156fa831e5652ec43552d0dd5c16a7de412261 (diff)
set: Don't bypass checks in nftnl_set_set_u{32,64}()
By calling nftnl_set_set(), any data size checks are effectively bypassed. Better call nftnl_set_set_data() directly, passing the real size for validation. Signed-off-by: Phil Sutter <phil@nwl.cc> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/rule.c')
0 files changed, 0 insertions, 0 deletions