From: Chen Gang Date: Thu, 30 May 2013 01:18:43 +0000 (+0000) Subject: parisc: kernel: using strlcpy() instead of strcpy() X-Git-Tag: v3.10-rc4~1^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea99b1adf22abd62bdcf14b1c9a0a4d3664eefd8;p=pandora-kernel.git parisc: kernel: using strlcpy() instead of strcpy() 'boot_args' is an input args, and 'boot_command_line' has a fix length. So use strlcpy() instead of strcpy() to avoid memory overflow. Signed-off-by: Chen Gang Acked-by: Kyle McMartin Signed-off-by: Helge Deller --- Reading git-diff-tree failed