Re: [Qemu-devel] [PATCH] contrib/elf2dmp: add kernel start address checking

2019-03-09 Thread Paolo Bonzini
On 08/03/19 18:55, Peter Maydell wrote: > On Wed, 20 Feb 2019 at 11:30, Paolo Bonzini wrote: >> >> On 19/02/19 22:19, Viktor Prutyanov wrote: >>> 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

Re: [Qemu-devel] [PATCH] contrib/elf2dmp: add kernel start address checking

2019-03-08 Thread Peter Maydell
On Wed, 20 Feb 2019 at 11:30, Paolo Bonzini wrote: > > On 19/02/19 22:19, Viktor Prutyanov wrote: > > 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 p

Re: [Qemu-devel] [PATCH] contrib/elf2dmp: add kernel start address checking

2019-02-20 Thread Paolo Bonzini
On 19/02/19 22:19, Viktor Prutyanov wrote: > 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 fut

[Qemu-devel] [PATCH] contrib/elf2dmp: add kernel start address checking

2019-02-19 Thread Viktor Prutyanov
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 ---