diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2021-08-29 12:52:44 +0300 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-09-04 13:03:57 +0300 |
commit | f3a343d7339acf1d531e438e15fef3c7975cfdcf (patch) | |
tree | dc0776611d802cb400f322b786044192ffad1605 /include | |
parent | 1ea133acd64eb0099865b0649b1d039ef63787ee (diff) | |
download | u-boot-f3a343d7339acf1d531e438e15fef3c7975cfdcf.tar.xz |
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: 82786754b9d2 ("efi_loader: ImageSize must be multiple of SectionAlignment")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions