diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2020-08-12 09:37:50 +0900 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-08-13 22:37:36 +0200 |
commit | 0658bb29b026a6af434b9e0cdeced5d25bdd206f (patch) | |
tree | 12decf1ec25063794275f29a285910eac8fac1fc /lib/smbios.c | |
parent | bc78d22d0f0db58b8a340ebf7d36ea2a217bfeac (diff) |
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>
Diffstat (limited to 'lib/smbios.c')
0 files changed, 0 insertions, 0 deletions