[ovs-git] [openvswitch/ovs] 874295: userspace: Replace all uses of strncpy() by ovs_st...
noreply at github.com
Fri Feb 20 20:32:43 UTC 2015
Author: Ben Pfaff <blp at nicira.com>
Date: 2015-02-20 (Fri, 20 Feb 2015)
userspace: Replace all uses of strncpy() by ovs_strlcpy().
strncpy() has a lot of pitfalls. A while back we replaced all its uses by
calls to ovs_strlcpy() or ovs_strzcpy(), but some more have crept in. This
commit fixes them.
Reported-by: Russell Bryant <rbryant at redhat.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Thomas Graf <tgraf at noironetworks.com>
More information about the git