]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: AllocatePages() must accept addr == 0
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 12 Jun 2019 05:17:04 +0000 (07:17 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 14 Jun 2019 17:18:40 +0000 (19:18 +0200)
commit241a368437692ccdd328a63b4768abc3cfbc19c9
tree4204de91bce0deeba32e196f19fd7b0cbfa4a625
parentf2b3c13bd860b508ee8b762c9a2bc10fa6501fd8
efi_loader: AllocatePages() must accept addr == 0

It must be possible to allocate memory at address 0 with AllocatePages().

Move a NULL pointer check.

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