ELI uninitialized variable bug
This patch fixes an uninitialized variable in eli-0.4.0, when no initrd was requested.
eli.c +3 -0
@@ -1242,6 +1242,9 @@case EFI_LOAD_ERROR : goto free_kernel_image; } + }else { + initrd.start_addr =0 ; + initrd.pages =0 ; }/* Must free the ACPI before creating the boot params so the */
Andres.
Signature · 4 lines
Andreas Schwab "And now for something SuSE Labs completely different." [email protected] SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg