summaryrefslogtreecommitdiff
path: root/lib/zstd
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-05-11 08:21:17 +0200
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2019-05-12 20:54:22 +0200
commitf756fe83b0d6e189dd524346d22f668d0861e573 (patch)
tree9462ec2536eabca5da0e8600822bb7e5fc77b075 /lib/zstd
parent735fd22800bbe3177edf1491a26794427541102d (diff)
downloadu-boot-f756fe83b0d6e189dd524346d22f668d0861e573.tar.gz
efi_loader: AllocateAdress error handling
If AllocatePages() is called with AllocateAddress, the UEFI spec requires to return EFI_NOT_FOUND in case the memory page does not exist. The UEFI SCT II 2017 spec additionally requires to return EFI_NOT_FOUND if the page is already allocated. Check that *Memory refers to an unallocated page. UEFI SCT II (2017): AllocatePages(), 5.1.2.1.9 - 5.1.2.1.10 Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib/zstd')
0 files changed, 0 insertions, 0 deletions