u-boot/lib/efi_loader
Masahisa Kojima 21489b4478 efi_loader: check efi_get_variable_int return value
efi_get_variable_int() may fail, the buffer should be
cleared before using it.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Addresses-Coverity-ID: 478333 ("Error handling issues")
2024-01-29 11:31:44 +01:00
..
.gitignore efi_loader: git ignore helloworld_efi.S 2020-01-07 18:08:20 +01:00
boothart.c efi_loader: add an EFI binary to print boot hart ID 2022-12-02 19:17:24 +01:00
capsule_esl.dtsi.in scripts/Makefile.lib: Embed capsule public key in platform's dtb 2023-08-29 13:38:55 -04:00
dtbdump.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_acpi.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_bootbin.c efi_loader: split unrelated code from efi_bootmgr.c 2024-01-17 08:40:25 +01:00
efi_bootmgr.c efi_loader: auto-generate removable media boot option first 2024-01-21 11:24:24 +01:00
efi_boottime.c efi_loader: Clean up efi_dp_append and efi_dp_concat 2024-01-13 18:17:47 +01:00
efi_capsule.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_conformance.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_console.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_device_path.c efi_loader: split unrelated code from efi_bootmgr.c 2024-01-17 08:40:25 +01:00
efi_device_path_to_text.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_device_path_utilities.c efi_loader: Clean up efi_dp_append and efi_dp_concat 2024-01-13 18:17:47 +01:00
efi_disk.c efi_loader: return immediately in UCLASS_EFI_LOADER removal 2024-01-21 11:24:24 +01:00
efi_dt_fixup.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_esrt.c efi_loader: fix iteration of FMP protocols 2024-01-13 18:17:46 +01:00
efi_file.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_firmware.c efi_loader: check efi_get_variable_int return value 2024-01-29 11:31:44 +01:00
efi_freestanding.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_gop.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_helper.c efi_loader: export efi_get_configuration_table 2024-01-29 11:31:06 +01:00
efi_hii.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_hii_config.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_image_loader.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_load_initrd.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_load_options.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_memory.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_net.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_riscv.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_rng.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_root_node.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_runtime.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_setup.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_signature.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_smbios.c smbios: copy QEMU tables 2024-01-16 17:05:29 -05:00
efi_string.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_tcg2.c efi_loader: replace find_smbios_table by library function 2024-01-29 11:31:28 +01:00
efi_unicode_collation.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_var_common.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_var_file.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_var_mem.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_var_seed.S efi_loader: pre-seed UEFI variables 2020-07-16 12:37:02 +02:00
efi_variable.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_variable_tee.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
efi_watchdog.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
helloworld.c efi_loader: print file path w/o boot device 2023-05-13 11:09:51 +02:00
initrddump.c efi_loader: Remove <common.h> 2023-12-21 08:54:37 -05:00
Kconfig efi_loader: rename BOOTEFI_BOOTMGR to EFI_BOOTMGR 2024-01-17 08:40:25 +01:00
Makefile efi_loader: rename BOOTEFI_BOOTMGR to EFI_BOOTMGR 2024-01-17 08:40:25 +01:00
smbiosdump.c efi_loader: provide tool to dump SMBIOS table 2024-01-09 10:09:15 +01:00