Home
last modified time | relevance | path

Searched hist:ea99b1ad (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/parisc/kernel/
H A Dsetup.cea99b1ad Wed May 29 20:18:43 CDT 2013 Chen Gang <gang.chen@asianux.com> 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 <gang.chen@asianux.com>
Acked-by: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: Helge Deller <deller@gmx.de>
ea99b1ad Wed May 29 20:18:43 CDT 2013 Chen Gang <gang.chen@asianux.com> 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 <gang.chen@asianux.com>
Acked-by: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: Helge Deller <deller@gmx.de>