]> git.ipfire.org Git - thirdparty/nftables.git/commit
parser_bison: fix memleak in meta set error handling
authorFlorian Westphal <fw@strlen.de>
Fri, 8 Dec 2023 12:37:27 +0000 (13:37 +0100)
committerFlorian Westphal <fw@strlen.de>
Mon, 11 Dec 2023 16:12:23 +0000 (17:12 +0100)
commit21608263cc1ae489326e743957bfe34b05414a44
treea102d74a080712bc58df2b36ec3b6ab37f5f02dd
parent78dffb470fcf7b1c0b1b3d6f43fcc056c337a808
parser_bison: fix memleak in meta set error handling

We must release the expression here, found via afl++ and
-fsanitize-address build.

Signed-off-by: Florian Westphal <fw@strlen.de>
src/parser_bison.y
tests/shell/testcases/bogons/nft-f/memleak_on_meta_set_errpath [new file with mode: 0644]