aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorHuang Ying <[email protected]>2009-05-08 02:51:41 +0000
committerH. Peter Anvin <[email protected]>2009-05-08 05:01:05 +0000
commit6407df5ca54a511054200a1eb23f78f723ca1de4 (patch)
treee27f6355b899deae894d8c80ab0906f546654534 /lib/dma-debug.c
parentx86-64: finish cleanup_highmaps()'s job wrt. _brk_end (diff)
downloadkernel-6407df5ca54a511054200a1eb23f78f723ca1de4.tar.gz
kernel-6407df5ca54a511054200a1eb23f78f723ca1de4.zip
x86, kexec: fix crashdump panic with CONFIG_KEXEC_JUMP
Tim Starling reported that crashdump will panic with kernel compiled with CONFIG_KEXEC_JUMP due to null pointer deference in machine_kexec_32.c: machine_kexec(), when deferencing kexec_image. Refering to: http://bugzilla.kernel.org/show_bug.cgi?id=13265 This patch fixes the BUG via replacing global variable reference: kexec_image in machine_kexec() with local variable reference: image, which is more appropriate, and will not be null. Same BUG is in machine_kexec_64.c too, so fixed too in the same way. [ Impact: fix crash on kexec ] Reported-by: Tim Starling <[email protected]> Signed-off-by: Huang Ying <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions