]> Git Repo - qemu.git/commit
contrib/elf2dmp: add kernel start address checking
authorViktor Prutyanov <[email protected]>
Tue, 19 Feb 2019 21:19:36 +0000 (00:19 +0300)
committerPaolo Bonzini <[email protected]>
Mon, 11 Mar 2019 15:33:49 +0000 (16:33 +0100)
commit06164cc402e67e64eefb79cd9a00a59d0e0d2fce
tree259e09fb959256437386c1c9d7d114b102807168
parentd4cef0c67ca0f7a2749e77360122273541147c55
contrib/elf2dmp: add kernel start address checking

Before this patch, if elf2dmp failed to find NT kernel PE magic in
allowed virtual address range, then it assumes NULL as NT kernel
address and cause segfault.

This patch fix the problem described above by checking NT kernel address
before futher processing.

Signed-off-by: Viktor Prutyanov <[email protected]>
Message-Id: <20190219211936[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
contrib/elf2dmp/main.c
This page took 0.025935 seconds and 4 git commands to generate.