summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_TCPOPTSTRIP.t
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-05-20 23:56:32 +0200
committerFlorian Westphal <fw@strlen.de>2018-05-20 23:56:32 +0200
commit14ec9984811a1c5d39010ebbd3ff171fd8f51652 (patch)
tree28d6bbb4cecfc43388aaf2ae25323da613902b65 /extensions/libxt_TCPOPTSTRIP.t
parent5e2b473a64bc772a5fb08d121fbfd969ca652bec (diff)
xtables-compat: ebtables: prefer snprintf to strncpy
gcc emits these warnings: xtables-eb-translate.c:185:2: warning: ‘strncpy’ specified bound 29 equals destination size [-Wstringop-truncation] strncpy(target->t->u.user.name, jumpto, sizeof(target->t->u.user.name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'extensions/libxt_TCPOPTSTRIP.t')
0 files changed, 0 insertions, 0 deletions