path: root/include
diff options
authorPhil Oester <>2013-10-25 09:55:31 -0700
committerPablo Neira Ayuso <>2013-10-27 21:31:44 +0100
commitfe59236952e037029c484b3f2ee75c658df90a9c (patch)
treee9cb5938508d98c73c8cd967a2f1a2748e7eef42 /include
parent032b73d499d76bf16a62f818373385dcc01f42fd (diff)
src: fix possible null pointer dereference in nft_*_attr_get_*
As reported by John Sager, nft_set_attr_get_u32 can cause a segfault because nft_set_attr_get can return NULL. Check for a non-NULL pointer before dereferencing. This closes netfilter bugzilla #868. [ I have mangled this patch to solve possible null pointer dereference with get operations with rule objects --pablo ] Signed-off-by: Phil Oester <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions