summaryrefslogtreecommitdiffstats
path: root/libxtables/xtoptions.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-09-19 15:16:53 +0200
committerFlorian Westphal <fw@strlen.de>2018-09-24 11:24:06 +0200
commit22ef371abeeec789bb6a701352dcb961556595c2 (patch)
tree32a3d1006b63dfabe55adba87f247d71f49091c7 /libxtables/xtoptions.c
parent6b7145fa2112e257073cc44346e9891fa23ce9c2 (diff)
libiptc: Simplify alloc_handle() function signature
This change originated from covscan complaining about the strcpy() call with an unknown size source buffer. But in fact, the size is known (and equal to the destination size), so pass a pointer to STRUCT_GETINFO to alloc_handle() instead of it's fields separately. Hopefully this will silence covscan. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'libxtables/xtoptions.c')
0 files changed, 0 insertions, 0 deletions