Re: [PATCH 03/13] efi_loader: image_loader: retrieve authenticode only if it exists

2020-05-29 Thread Heinrich Schuchardt
On 5/29/20 8:41 AM, AKASHI Takahiro wrote: > Since certificate table, which is indexed by IMAGE_DIRECTORY_ENTRY_SECURITY %s/Since certificate/Since the certificate/ > and contains authenticode in PE image, doesn't always exist, we should make > sure that we will retrieve its pointer only if it ex

[PATCH 03/13] efi_loader: image_loader: retrieve authenticode only if it exists

2020-05-28 Thread AKASHI Takahiro
Since certificate table, which is indexed by IMAGE_DIRECTORY_ENTRY_SECURITY and contains authenticode in PE image, doesn't always exist, we should make sure that we will retrieve its pointer only if it exists. Signed-off-by: AKASHI Takahiro --- lib/efi_loader/efi_image_loader.c | 29