Skip to content
Commit 8bc14d25 authored by Chen Gang's avatar Chen Gang Committed by Pablo Neira Ayuso
Browse files

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: default avatarChen Gang <gang.chen@asianux.com>
Acked-by: default avatarBart De Schuymer <bdschuym@pandora.be>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 00028aa3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment