]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: check efi_get_variable_int return value
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Mon, 29 Jan 2024 02:51:14 +0000 (11:51 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 29 Jan 2024 10:31:44 +0000 (11:31 +0100)
commit21489b4478a72d6c682f24dea80d5ac7790e2692
treec60047ae93c02a1b4a8b80049ed661a73ae3c9da
parent796469c453325c2778b388ee4bd67f4dc0d16685
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")
lib/efi_loader/efi_firmware.c