search for: efi_memscan

Displaying 1 result from an estimated 1 matches for "efi_memscan".

2018 Feb 05
0
[PATCH] Fix uninitialized variable in efi
...ree_mem to point to a static variable. --- syslinux-orig/efi/main.c +++ syslinux/efi/main.c @@ -393,7 +393,8 @@ void efi_init(void) { /* XXX timer */ - *bios_free_mem = 0; + static uint16_t free_mem = 0; + bios_free_mem = &free_mem; syslinux_memscan_add(&efi_memscan); mem_init(); } ======== SNIP ========