commit | eb7dbe855c79c30757ca66a9afda3a9abacc9c36 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Wed Jul 22 06:29:38 2020 +0200 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Wed Jul 22 12:32:41 2020 +0200 |
tree | fdde29b68956a5b8aacf4a44ebdbc8d5a9b13f8f | |
parent | c7be4f28e2854f75da4333ac5370e5c05dc98e5a [diff] |
efi_loader: efi_current_var after SetVirtualAddressMap Variable efi_current_var is a pointer to a physical memory address that becomes invalid after SetVirtualAddressMap(). Instead of converting it via ConvertPointer() simply set it to NULL. Fixes: b02a707152dc ("efi_loader: enable UEFI variables at runtime") Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>