Chen Gang 753c43534b parisc: kernel: using strlcpy() instead of strcpy()
commit ea99b1adf22abd62bdcf14b1c9a0a4d3664eefd8 upstream.

'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 <gang.chen@asianux.com>
Acked-by: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-06-27 10:38:43 -07:00
..
2013-03-04 10:29:19 +00:00
2013-03-11 10:08:04 +01:00
2013-06-20 12:01:32 -07:00