]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
arch: blackfin: kernel: setup.c: Cleaning up missing null-terminate in conjunction...
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sat, 26 Jul 2014 13:58:22 +0000 (15:58 +0200)
committerSteven Miao <realmz6@gmail.com>
Thu, 23 Apr 2015 13:34:25 +0000 (21:34 +0800)
commit4eb147c83f34e00184557923d2bf93f593deb41c
tree1bce341b0bcc1688cf3ffa662fde57102851c001
parent2fcc440ca69a5d857523e5aed00c959c07085f3c
arch: blackfin: kernel: setup.c: Cleaning up missing null-terminate in conjunction with strncpy

Replacing strncpy with strlcpy to avoid strings that lacks null terminate.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Steven Miao <realmz6@gmail.com>
arch/blackfin/kernel/setup.c