Signed-off-by: Cyrill Gorcunov --- Index: linux-2.6.git/arch/x86/kernel/e820.c ==================================================================== --- linux-2.6.git.orig/arch/x86/kernel/e820.c 2008-06-28 21:15:44.000000000 +0400 +++ linux-2.6.git/arch/x86/kernel/e820.c 2008-07-05 12:55:55.000000000 +0400 @@ -1131,6 +1131,9 @@ static int __init parse_memmap_opt(char char *oldp; u64 start_at, mem_size; + if (!p) + return -EINVAL; + if (!strcmp(p, "exactmap")) { #ifdef CONFIG_CRASH_DUMP /* -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/