summaryrefslogtreecommitdiffstats
path: root/tests/jsonfiles/01-table.json
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 /tests/jsonfiles/01-table.json
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 'tests/jsonfiles/01-table.json')
0 files changed, 0 insertions, 0 deletions