From: Bernhard Walle Date: Sun, 28 Jan 2007 12:47:02 +0000 (+0100) Subject: [IA64] Fix NULL-pointer dereference in ia64_machine_kexec() X-Git-Tag: v2.6.21-rc1~92^2~36^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2c77fe8df3e0322a613ba1540910632ad14d96d;p=pandora-kernel.git [IA64] Fix NULL-pointer dereference in ia64_machine_kexec() This patch fixes a NULL-pointer dereference in ia64_machine_kexec(). The variable ia64_kimage is set in machine_kexec_prepare() which is called from sys_kexec_load(). If kdump wasn't configured before, ia64_kimage is NULL. machine_kdump_on_init() passes ia64_kimage() to machine_kexec() which assumes a valid value. The patch also adds a few sanity checks for the image to simplify debugging of similar problems in future. Signed-off-by: Bernhard Walle Signed-off-by: Tony Luck --- Reading git-diff-tree failed