]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: SetVariable() deleting variables
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 23 Sep 2019 20:38:53 +0000 (22:38 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 23 Sep 2019 20:53:25 +0000 (22:53 +0200)
commit3f65abf533e5fcad0489807fc996582f44b91b25
tree462080bdd8383ae22c6da617f9bdb2c591a6c3a8
parent3fa62335abaf803e0bc5a7a44148409fedc09c20
efi_loader: SetVariable() deleting variables

APPEND_WRITE with data length zero is allowable according to the UEFI
specification.

The EDK2 interpretation of no access attributes is attributes = 0. As
the UEFI specification is vague in this respect let's stick to EDK2 here.

Fixes: commit 51391fc19b5d ("efi_loader: variable: support APPEND_WRITE")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_variable.c