Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a737abd1 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Ingo Molnar
Browse files

x86: e820 memmap - add checking for NULL early param



Signed-off-by: default avatarCyrill Gorcunov <gorcunov@gmail.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: akpm@linux-foundation.org
Cc: andi@firstfloor.org
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent c22d4c18
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1198,6 +1198,9 @@ static int __init parse_memmap_opt(char *p)
	char *oldp;
	u64 start_at, mem_size;

	if (!p)
		return -EINVAL;

	if (!strcmp(p, "exactmap")) {
#ifdef CONFIG_CRASH_DUMP
		/*