commit | a378f96c7ff497d066fe5ae6c7543f8c7a748236 | [log] [tgz] |
---|---|---|
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | Wed Mar 16 17:13:37 2022 +0200 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sun Mar 20 11:03:06 2022 +0100 |
tree | bfe5fe0504a63b54db46b277c24c0b321c90defb | |
parent | 0899497f2c7680c36c0ff61cd3fc2cd422eaa36a [diff] |
efi_loader: Set variable attributes when EFI_BUFFER_TOO_SMALL is returned Starting UEFI Spec 2.8 we must fill in the variable attributes when GetVariable() returns EFI_BUFFER_TOO_SMALL and Attributes is non-NULL. This code was written with 2.7 in mind so let's move the code around a bit and fill in the attributes EFI_BUFFER_TOO_SMALL is returned Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>