commit | a880cc28358a32f96467e248266973b6ab83f080 | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil@nwl.cc> | Fri Feb 01 19:17:50 2019 +0100 |
committer | Florian Westphal <fw@strlen.de> | Fri Feb 01 19:33:59 2019 +0100 |
tree | 826e8ad7d441983eb1efd56fe6ce17b2a0effd8d | |
parent | ac8d992b8b2a23c5ae56afc428737c6863461136 [diff] |
xtables: Fix for crash when comparing rules with standard target When parsing an nftnl_rule with a standard verdict, nft_rule_to_iptables_command_state() initialized cs->target but didn't care about cs->target->t. When later comparing that rule to another, compare_targets() crashed due to unconditional access to t's fields. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de>