]> git.ipfire.org Git - thirdparty/nftables.git/commit
netlink: Zero nft_data_linearize objects when populating
authorPhil Sutter <phil@nwl.cc>
Fri, 17 Oct 2025 07:29:47 +0000 (09:29 +0200)
committerPhil Sutter <phil@nwl.cc>
Thu, 23 Oct 2025 20:48:51 +0000 (22:48 +0200)
commit95618771d5e4c2bd4b0aa1dac458395ddd158f7f
tree1bff91c30f6b1ebafd025c352f6526ed2e91ea8e
parenteb452ed7b658ce4eee7c8a647f86e074d0cf9189
netlink: Zero nft_data_linearize objects when populating

Callers of netlink_gen_{key,data}() pass an uninitialized auto-variable,
avoid misinterpreting garbage in fields "left blank".

Signed-off-by: Phil Sutter <phil@nwl.cc>
src/netlink.c