diff options
author | Phil Sutter <phil@nwl.cc> | 2018-09-19 15:16:53 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-09-24 11:24:06 +0200 |
commit | 22ef371abeeec789bb6a701352dcb961556595c2 (patch) | |
tree | 32a3d1006b63dfabe55adba87f247d71f49091c7 /extensions/libipt_REJECT.t | |
parent | 6b7145fa2112e257073cc44346e9891fa23ce9c2 (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 'extensions/libipt_REJECT.t')
0 files changed, 0 insertions, 0 deletions