Re: [PATCH] sparc: kernel: using strlcpy() instead of strcpy()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Zhao Hongjiang <zhaohongjiang@xxxxxxxxxx>
Date: Sun, 9 Jun 2013 16:57:58 +0800

> 'boot_command_line' and 'full_boot_str' has a fix length, 'cmdline_p' and
> 'boot_command' maybe larger than them. So use strlcpy() instead of strcpy() 
> to avoid memory overflow.
> 
> Signed-off-by: Zhao Hongjiang <zhaohongjiang@xxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux