diff options
| author | Heinrich Schuchardt <[email protected]> | 2021-08-29 11:52:44 +0200 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2021-09-04 12:03:57 +0200 |
| commit | f3a343d7339acf1d531e438e15fef3c7975cfdcf (patch) | |
| tree | dc0776611d802cb400f322b786044192ffad1605 /include/efi_variable.h | |
| parent | 1ea133acd64eb0099865b0649b1d039ef63787ee (diff) | |
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 <[email protected]>
Diffstat (limited to 'include/efi_variable.h')
0 files changed, 0 insertions, 0 deletions
