Skip to content
Commit f3a343d7 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

efi_loader: rounding of image size



We should not first allocate memory and then report a rounded up value as
image size. Instead first round up according to section allocation and then
allocate the memory.

Fixes: 82786754 ("efi_loader: ImageSize must be multiple of SectionAlignment")
Signed-off-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
parent 1ea133ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment