Skip to content
Commit 0658bb29 authored by AKASHI Takahiro's avatar AKASHI Takahiro Committed by Heinrich Schuchardt
Browse files

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: default avatarAKASHI Takahiro <takahiro.akashi@linaro.org>
Tested-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent bc78d22d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment