Searched hist:"3 ac24188eccffe4b6038b47f446c3472897abdf4" (Results 1 – 1 of 1) sorted by relevance
/qemu/hw/sparc64/ |
H A D | sun4u.c | 3ac24188eccffe4b6038b47f446c3472897abdf4 Fri Aug 10 10:40:37 UTC 2018 Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> sun4u: ensure kernel_top is always initialised
Valgrind reports that when loading a non-ELF kernel, kernel_top may be used uninitialised when checking for an initrd.
Since there are no known non-ELF kernels for SPARC64 then we can simply initialise kernel_top to 0 and then skip the initrd load process if it hasn't been set by load_elf().
Reported-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
|