aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/selinux/genheaders
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-09-05 20:23:21 -0700
committerRoland Dreier <rolandd@cisco.com>2009-09-05 20:23:21 -0700
commit286b63d09660de0fbd0d7748984d7ae491c7fdb6 (patch)
tree8e7675a83dd395ec0bf4c9e403a75e8c90364607 /scripts/selinux/genheaders
parentLinux 2.6.31-rc9 (diff)
downloadwireguard-linux-286b63d09660de0fbd0d7748984d7ae491c7fdb6.tar.xz
wireguard-linux-286b63d09660de0fbd0d7748984d7ae491c7fdb6.zip
IB/ipath: strncpy() doesn't always NUL-terminate
strlcpy() will always null terminate the string. node_desc is not guaranteed to be NUL-terminated so just use memcpy(). Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'scripts/selinux/genheaders')
0 files changed, 0 insertions, 0 deletions