]> git.ipfire.org Git - thirdparty/nftables.git/commit
mnl: do not use expr->identifier to fetch device name
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 19 Feb 2020 20:05:26 +0000 (21:05 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 19 Feb 2020 20:23:34 +0000 (21:23 +0100)
commit78bbe7f7a55be48909067e25900de27623d8fa6a
tree203fc630e89a9dbcfca98b9250d8113ee646937f
parentf027cbf82445eec0c0f43e0025b5427bea467958
mnl: do not use expr->identifier to fetch device name

This string might not be nul-terminated, resulting in spurious errors
when adding netdev chains.

Fixes: 3fdc7541fba0 ("src: add multidevice support for netdev chain")
Fixes: 92911b362e90 ("src: add support to add flowtables")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/mnl.c
src/parser_bison.y