efi_loader: variable: keep temporary buffer during the authentication
This is a bug fix; Setting an authenticated variable may fail due to a memory corruption in the authentication. A temporary buffer will, if needed, be allocated to parse a variable's authentication data, and some portion of buffer, specifically signer's certificates, will be referenced by efi_signature_verify(). So the buffer should be kept valid until the authentication process is finished. Signed-off-by:AKASHI Takahiro <takahiro.akashi@linaro.org> Tested-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
Loading
Please register or sign in to comment