efi_loader: check uuid_str_to_bin return value
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Mon, 31 Jul 2023 08:53:02 +0000 (17:53 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 3 Aug 2023 07:21:03 +0000 (09:21 +0200)
commitcd87d2c61ce8e8e963de514f2c8ab0f959d6b586
tree229bf5afdb654a96d4881094aa11086f0d2807f8
parent405b736e817bbca360b2fd3329953d3980585df2
efi_loader: check uuid_str_to_bin return value

Check the uuid_str_to_bin return value, skip the node
if the image-type-id property is wrong format.

Addresses-Coverity-ID: 463145 ("Error handling issues")
Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/efi_firmware.c