diff options
author | Chen Gang <[email protected]> | 2013-05-16 22:07:22 +0000 |
---|---|---|
committer | Pablo Neira Ayuso <[email protected]> | 2013-05-23 11:24:57 +0200 |
commit | 8bc14d25ffb9dfc242d3a877bb4fe683adb27692 (patch) | |
tree | c7e1e671917dee9b6b5d39cc709f087e8cfbcfee /include/net/netns/x_tables.h | |
parent | 00028aa37098168048728acc32ab0206687f2920 (diff) |
bridge: netfilter: using strlcpy() instead of strncpy()
'name' has already set all zero when it is defined, so not need let
strncpy() to pad it again.
'name' is a string, better always let is NUL terminated, so use
strlcpy() instead of strncpy().
Signed-off-by: Chen Gang <[email protected]>
Acked-by: Bart De Schuymer <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'include/net/netns/x_tables.h')
0 files changed, 0 insertions, 0 deletions