From: Alexander Nyberg This strcpy can run off the end of saved_command_line, and we don't need it any more anyway. Signed-off-by: Alexander Nyberg Cc: Andi Kleen Signed-off-by: Andrew Morton --- arch/x86_64/kernel/head64.c | 3 --- 1 files changed, 3 deletions(-) diff -puN arch/x86_64/kernel/head64.c~x86_64-saved_command_line-overflow-fix arch/x86_64/kernel/head64.c --- 25/arch/x86_64/kernel/head64.c~x86_64-saved_command_line-overflow-fix Fri Apr 29 16:03:15 2005 +++ 25-akpm/arch/x86_64/kernel/head64.c Fri Apr 29 16:03:15 2005 @@ -91,9 +91,6 @@ void __init x86_64_start_kernel(char * r #ifdef CONFIG_SMP cpu_set(0, cpu_online_map); #endif - /* default console: */ - if (!strstr(saved_command_line, "console=")) - strcat(saved_command_line, " console=tty0"); s = strstr(saved_command_line, "earlyprintk="); if (s != NULL) setup_early_printk(s); _