| commit | 306b16718edddd660b84bf3c6627ce5d41b53ce7 | [log] [tgz] |
|---|---|---|
| author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Mon Mar 18 20:01:59 2019 +0100 |
| committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Wed Mar 20 18:16:53 2019 +0100 |
| tree | 518cacf320d22ef1605bd44ed252e0733f5539eb | |
| parent | a00d15757d7a513e410f15f2f910cb52333361a3 [diff] |
efi_loader: correct parameter size in efi_allocate_pool
efi_allocate_pages() expects a (uint64_t *) pointer to pass the address of
the assigned memory. If we pass the address of a pointer here, an illegal
memory access occurs on 32bit systems.
Fixes: 282a06cbcae8 ("efi_loader: Expose U-Boot addresses in memory map
for sandbox")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>