Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'm68knommu-for-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu

Pull m68knommu update from Greg Ungerer:
"Only a single change to use the safer strscpy() instead of strncpy()
when setting up the cmdline"

* tag 'm68knommu-for-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
m68k: use strscpy() to instead of strncpy()

+1 -2
+1 -2
arch/m68k/kernel/setup_no.c
··· 90 90 config_BSP(&command_line[0], sizeof(command_line)); 91 91 92 92 #if defined(CONFIG_BOOTPARAM) 93 - strncpy(&command_line[0], CONFIG_BOOTPARAM_STRING, sizeof(command_line)); 94 - command_line[sizeof(command_line) - 1] = 0; 93 + strscpy(&command_line[0], CONFIG_BOOTPARAM_STRING, sizeof(command_line)); 95 94 #endif /* CONFIG_BOOTPARAM */ 96 95 97 96 process_uboot_commandline(&command_line[0], sizeof(command_line));