From: Roel Kluin Date: Sun, 6 Sep 2009 03:23:21 +0000 (-0700) Subject: IB/ipath: strncpy() doesn't always NUL-terminate X-Git-Tag: v2.6.32-rc1~736^2~1^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=286b63d09660de0fbd0d7748984d7ae491c7fdb6;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed