]> 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)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 12 Dec 2023 12:30:09 +0000 (13:30 +0100)
commit8504b6ef406efffcd0c5caff41c42df4b42a8dd1
treedad78a829786a71089f213eba72809d910beff08
parent0004363b354ffec9c6857d18654036abda77e4d0
parser_bison: fix memleak in meta set error handling

commit 21608263cc1ae489326e743957bfe34b05414a44 upstream.

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]