diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-07-30 11:31:08 +0200 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-08-03 09:21:02 +0200 |
commit | 48d183f2acb0157856254f52d2d856a07463acd4 (patch) | |
tree | 0312d9783bbd941c14f9ec3a06cc21ad923ed9fb /lib/efi_loader/initrddump.c | |
parent | d12c3efe53107e4ce4f22e146594437e1ae89cfc (diff) | |
download | u-boot-48d183f2acb0157856254f52d2d856a07463acd4.tar.gz u-boot-48d183f2acb0157856254f52d2d856a07463acd4.tar.bz2 u-boot-48d183f2acb0157856254f52d2d856a07463acd4.zip |
efi_loader: overflow in efi_allocate_pages
On 32bit systems (pages << EFI_PAGE_SHIFT) may lead to an overflow which
does not occur in 64bit arithmetics.
An overflow of (pages << EFI_PAGE_SHIFT) on 64bit systems should be treated
as an error.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'lib/efi_loader/initrddump.c')
0 files changed, 0 insertions, 0 deletions