summaryrefslogtreecommitdiffstats
path: root/include/libnftnl/set.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2016-07-31 22:05:52 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2016-08-01 14:01:01 +0200
commit21e062bb589cbea328c65dc37c96e1d91eacb920 (patch)
tree31e4b6aa51a91ce5a90117fc9d525b8a9a13df8e /include/libnftnl/set.h
parent51e9a5a2be2003e1d20aee91e5970b9fbb322bc0 (diff)
src: don't set data_len to zero when returning pointers
nft already assumes that passing NULL as data_len is valid, otherwise it crashes. Fix this by leave data_len unset in this specific case. Fixes: bda7102 ("src: Fix nftnl_*_get_data() to return the real attribute length") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libnftnl/set.h')
0 files changed, 0 insertions, 0 deletions