]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fs/proc/kcore.c: using strlcpy() instead of strncpy()
authorZhao Hongjiang <zhaohongjiang@huawei.com>
Thu, 27 Jun 2013 23:53:55 +0000 (09:53 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:38:57 +0000 (16:38 +1000)
commitb7628f531c1bb451dfe661a32b69b877ac552a47
treea7960993eb3387631ea77dd51a3e3c5e8cc04713
parent396318b7b423daa720af5a65281fb57f5dae1b72
fs/proc/kcore.c: using strlcpy() instead of strncpy()

For NUL terminated string, set '\0' at the end.

Signed-off-by: Zhao Hongjiang <zhaohongjiang@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/proc/kcore.c