summaryrefslogtreecommitdiffstats
path: root/scripts/lib/argparse_oe.py
diff options
context:
space:
mode:
authorChristian Taedcke <christian.taedcke@weidmueller.com>2024-07-24 11:03:38 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-07-26 12:28:42 +0100
commit138a1990e03183eae96a4c2c2f3daced329e7eba (patch)
treeb0c4de961c513f83a7d861a18d856ae035298811 /scripts/lib/argparse_oe.py
parent1dda68d7f22817e0c8944b2e0eda858f53bd12f6 (diff)
downloadpoky-138a1990e03183eae96a4c2c2f3daced329e7eba.tar.gz
iptables: fix memory corruption when parsing nft rules
This commit fixes a memory corruption issue when iptables (with enabled PACKAGECONFIG libnftnl) is used to access rules created by nft. To reproduce the issue: nft add chain ip filter TESTCHAIN { meta mark set 123 \;} iptables -t filter -n -L TESTCHAIN This produced the following output: Chain TESTCHAIN (0 references) target prot opt source destination MARK 0 -- 0.0.0.0/0 0.0.0.0/0 MARK set 0x7b malloc(): corrupted top size Aborted (core dumped) This commit fixes this issue. (From OE-Core rev: 461d6333dabacdc181c91f31a8dd4ad6682cc0e4) Signed-off-by: Christian Taedcke <christian.taedcke@weidmueller.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/argparse_oe.py')
0 files changed, 0 insertions, 0 deletions