summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-monitor.8.in
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-08-06 17:23:23 +0200
committerFlorian Westphal <fw@strlen.de>2018-08-06 18:17:39 +0200
commita9d9f64b7c06c17c98c175f1c44e8979ba0e14c3 (patch)
tree55f3634d2a7bab5b0f90786fdfccb423758e5d0f /iptables/xtables-monitor.8.in
parentfbf0bf7c079d8094accd57643b7eccc6b96423f2 (diff)
xtables: Fix potential segfault in nft_rule_append()
If batch_rule_add() failed (ENOMEM), nft_rule_append() frees the rule and then tries to add it to the rule cache. Better return 0 (failure) instead of continuing. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/xtables-monitor.8.in')
0 files changed, 0 insertions, 0 deletions