qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] valgrind problem in sun4u_load_kernel()
@ 2018-06-15 10:37 Thomas Huth
  2018-06-17 10:22 ` Mark Cave-Ayland
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Huth @ 2018-06-15 10:37 UTC (permalink / raw)
  To: Mark Cave-Ayland, Artyom Tarasenko; +Cc: QEMU Developers


 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
load_image_targphys(), the kernel_top variable is never set to a valid
value. This could cause some trouble when loading the initrd later. When
you've got some spare time, could you please have a look?

 Thanks,
  Thomas

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-08-08  8:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-15 10:37 [Qemu-devel] valgrind problem in sun4u_load_kernel() Thomas Huth
2018-06-17 10:22 ` Mark Cave-Ayland
2018-06-19  8:03   ` Artyom Tarasenko
2018-08-08  8:48     ` Thomas Huth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).