Skip to content

memleak fixes for tests/shell/testcases/bogons/nft-f/

Pablo Neira Ayuso netfilter-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2evaluate: release key expression in error path of implicit map with unknown datatypesrc/evaluate.c+3 -10 replies
2/2evaluate: release mpz type in expr_evaluate_list() error pathsrc/evaluate.c+9 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH nft 0/2] memleak fixes for tests/shell/testcases/bogons/nft-f/

Hi!

I found these when running:

ls * | while read line; do sudo nft -f $line; done

from the tests/shell/testcases/bogons/nft-f/, for some reason the bogons test does not bail out when ASAN reports an issue, while it reports [FAILED] in other existing tests on memleaks.

Pablo Neira Ayuso (2):
evaluate: release key expression in error path of implicit map with unknown datatype
evaluate: release mpz type in expr_evaluate_list() error path

 src/evaluate.c | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)
Signature · 1 line
2.30.2