]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: EFI_FILE_PROTOCOL.Write() check args
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 6 Sep 2019 19:37:21 +0000 (21:37 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 9 Sep 2019 13:21:08 +0000 (15:21 +0200)
commit44404ce455378633001bc279b3a54da10fc5123a
tree0e8bd0e29e49db6c3ce0f66562cd11c99fabde36
parent7fb16a84cfd2347e967e73c766a8afcac88d8388
efi_loader: EFI_FILE_PROTOCOL.Write() check args

Check the parameters passed to Write():

* cannot write to directories (UEFI SCT 2017, 5.7.3.5.15)
* cannot write to file opened read only (UEFI SCT 2017, 5.7.3.5.16)

Add missing comments.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_file.c