Re: [Qemu-devel] coverity detected issue in contrib/elf2dmp/main.c

2019-02-15 Thread Viktor Prutyanov
On Thu, 14 Feb 2019 18:58:46 + Peter Maydell wrote: Hi > Hi; Coverity detected an issue in contrib/elf2dmp/main.c (CID > 1398641). In this loop: > > for (; KernBase >= 0xf780; KernBase -= PAGE_SIZE) { > nt_start_addr = va_space_resolve(&vs, KernBase); > if (!

[Qemu-devel] coverity detected issue in contrib/elf2dmp/main.c

2019-02-14 Thread Peter Maydell
Hi; Coverity detected an issue in contrib/elf2dmp/main.c (CID 1398641). In this loop: for (; KernBase >= 0xf780; KernBase -= PAGE_SIZE) { nt_start_addr = va_space_resolve(&vs, KernBase); if (!nt_start_addr) { continue; } if (*(uint16_t *