]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: check parameters EFI_FILE_PROTOCOL.GetInfo()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 8 Sep 2019 08:45:31 +0000 (10:45 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 9 Sep 2019 13:21:09 +0000 (15:21 +0200)
commit11335c0439aa76bc5ed32b1ccfcab9995e2eac6b
tree02bfd3f49f05c0ba574b9ecbbc8aa0ad5b4a0d50
parent632834ce6dc9905cb101c91903e8bea5224e1b72
efi_loader: check parameters EFI_FILE_PROTOCOL.GetInfo()

Check the parameters of EFI_FILE_PROTOCOL.GetInfo() to avoid possible NULL
dereference.

Check the buffer size for EFI_FILE_SYSTEM_INFO.

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