Skip to content

object: fix crashes with out-of-tree nft

Florian Westphal netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2object: don't set NFTNL_OBJ_TYPE unless obj->ops is non-nullsrc/object.c+4 -11 reply
2/2object: fix crash when object ops is nullsrc/object.c+2 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPablo Neira Ayuso
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH libnftnl 0/2] object: fix crashes with out-of-tree nft

While working on ct helper object support I encountered crashes in libnftnl. This occurs when nft sets unknown object types not supported by libnftnl.

The two patches avoid segfaults in case unsupported types are requested.