summaryrefslogtreecommitdiffstats
path: root/iptables/nft.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-02-07 22:08:53 +0100
committerFlorian Westphal <fw@strlen.de>2019-02-08 15:13:29 +0100
commitd1df0a36b0486c780211cfa574301132bf55f194 (patch)
tree73176bcdfa0b291473cc45d1757251556c48828b /iptables/nft.c
parent2478b6cbb8112f940cec61ec1e62a598472d33d0 (diff)
nft: Don't assume NFTNL_RULE_USERDATA holds a comment
If this rule attribute is present but does not contain a comment, get_comment() returns NULL which is then fed into strncpy() causing a crash. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/nft.c')
0 files changed, 0 insertions, 0 deletions