]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: efi_capsule_delete_file() NULL dereference
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 2 Jun 2021 17:28:22 +0000 (19:28 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 8 Jun 2021 22:16:39 +0000 (00:16 +0200)
commite27b0ff1b7135f966c1379acde48134dd6b15545
tree82243d43a5abb1e3a9ac098342846d1032c8df5d
parent3dca77b1dc1b6dbf9c8b51572fe4b0553cef009f
efi_loader: efi_capsule_delete_file() NULL dereference

If opening a file fails, the file handle pointer is not valid and must not
be dereferenced.

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