commit | f9d1f22110be177449fa65e500a684806d768d80 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sun Aug 29 11:52:44 2021 +0200 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat Sep 04 12:03:57 2021 +0200 |
tree | dc0776611d802cb400f322b786044192ffad1605 | |
parent | cd86dc941d93f6efa2f5b01a051898dfd089eeaa [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 <heinrich.schuchardt@canonical.com>