Re: [Qemu-devel] valgrind problem in sun4u_load_kernel()

2018-08-08 Thread Thomas Huth
On 06/19/2018 10:03 AM, Artyom Tarasenko wrote: > On Sun, Jun 17, 2018 at 12:22 PM, Mark Cave-Ayland > wrote: >> On 15/06/18 11:37, Thomas Huth wrote: >> >>> Hi Mark, hi Artyom, >>> >>> while using valgrind to fix some issues with the rom_ptr() function >>> today, I noticed that there is one

Re: [Qemu-devel] valgrind problem in sun4u_load_kernel()

2018-06-19 Thread Artyom Tarasenko
On Sun, Jun 17, 2018 at 12:22 PM, Mark Cave-Ayland wrote: > On 15/06/18 11:37, Thomas Huth wrote: > >> Hi Mark, hi Artyom, >> >> while using valgrind to fix some issues with the rom_ptr() function >> today, I noticed that there is one more problem in sun4u_load_kernel(): >> The kernel_top

Re: [Qemu-devel] valgrind problem in sun4u_load_kernel()

2018-06-17 Thread Mark Cave-Ayland
On 15/06/18 11:37, Thomas Huth wrote: Hi Mark, hi Artyom, while using valgrind to fix some issues with the rom_ptr() function today, I noticed that there is one more problem in sun4u_load_kernel(): The kernel_top variable can be used uninitialized in some cases: If load_elf() fails and the

[Qemu-devel] valgrind problem in sun4u_load_kernel()

2018-06-15 Thread Thomas Huth
Hi Mark, hi Artyom, while using valgrind to fix some issues with the rom_ptr() function today, I noticed that there is one more problem in sun4u_load_kernel(): The kernel_top variable can be used uninitialized in some cases: If load_elf() fails and the kernel is loaded via load_aout() or