]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: netlink: netlink_delinearize_table() may return NULL master
authorPhil Sutter <phil@nwl.cc>
Fri, 8 Aug 2025 12:21:41 +0000 (14:21 +0200)
committerPhil Sutter <phil@nwl.cc>
Wed, 13 Aug 2025 15:34:33 +0000 (17:34 +0200)
commita69d552a005ba467d37e225032e35d01d9491241
tree7d6fc38564ecb9624665be5bd4c55ce349da3721
parent41ad2e41ae772f6aeb6799a1ec8dd8c20b550d12
src: netlink: netlink_delinearize_table() may return NULL

Catch the error condition in callers to avoid crashes.

Fixes: c156232a530b3 ("src: add comment support when adding tables")
Signed-off-by: Phil Sutter <phil@nwl.cc>
src/monitor.c
src/netlink.c