summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/transactions
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2020-01-20 14:48:26 +0100
committerPhil Sutter <phil@nwl.cc>2020-01-22 09:01:01 +0100
commite957bd9f10d5e36671a0b0398e2037fc6201275b (patch)
tree87c9edef1c3d3bc8e3474508265e0bead92bba23 /tests/shell/testcases/transactions
parentc3f6be3f2dcedf6d79751c0b975315ebc3184364 (diff)
netlink: Fix leaks in netlink_parse_cmp()
This fixes several problems at once: * Err path would leak expr 'right' in two places and 'left' in one. * Concat case would leak 'right' by overwriting the pointer. Introduce a temporary variable to hold the new pointer. Fixes: 6377380bc265f ("netlink_delinearize: handle relational and lookup concat expressions") Signed-off-by: Phil Sutter <phil@nwl.cc> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/transactions')
0 files changed, 0 insertions, 0 deletions