[Bridge] [PATCH] bridge: netfilter: using strlcpy() instead of strncpy()

Pablo Neira Ayuso pablo at netfilter.org
Thu May 23 10:56:00 UTC 2013

On Fri, May 17, 2013 at 04:07:22PM +0800, Chen Gang wrote:
> '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().

Applied, thanks.

More information about the Bridge mailing list