summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/chains/0012reject_in_prerouting_1
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2021-06-17 12:31:11 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2021-06-18 09:40:20 +0200
commit23939b625bb7f0e5d9743f3dd286d73216b7f7e1 (patch)
tree4ed4c0acb0ed176a632c1fe75dcdee6661df3665 /tests/shell/testcases/chains/0012reject_in_prerouting_1
parente2c0529c7fe40be9f3f3c0131d26f44fe8fdc408 (diff)
segtree: memleak in error path of the set to segtree conversion
Release the array of intervals and the segtree in case of error, otherwise these structures and objects are never released: SUMMARY: AddressSanitizer: 2864 byte(s) leaked in 37 allocation(s). Moreover, improve existing a test coverage of this error path. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/chains/0012reject_in_prerouting_1')
0 files changed, 0 insertions, 0 deletions