efi_loader: ImageSize must be multiple of SectionAlignment
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 3 Apr 2018 20:29:32 +0000 (22:29 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 4 Apr 2018 09:37:40 +0000 (11:37 +0200)
commit82786754b9d21a05a70c45ff7e9e48c91745f837
tree1f9299cd02e0bf640a86e2ba20922d48be9fa0e8
parent84b40b40ad9b95b4680766597c866b604147144c
efi_loader: ImageSize must be multiple of SectionAlignment

According to the Portable Executable and Common Object File Format
Specification the image size must be a multiple of the alignment
of sections.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_image_loader.c