diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-05-16 22:07:22 +0000 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-05-23 11:24:57 +0200 |
commit | 8bc14d25ffb9dfc242d3a877bb4fe683adb27692 (patch) | |
tree | c7e1e671917dee9b6b5d39cc709f087e8cfbcfee /lib/checksum.c | |
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 <gang.chen@asianux.com>
Acked-by: Bart De Schuymer <bdschuym@pandora.be>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'lib/checksum.c')
0 files changed, 0 insertions, 0 deletions