Re: [PATCH] efi_loader: check update capsule parameters

2021-06-20 Thread Heinrich Schuchardt
On 6/12/21 2:13 AM, AKASHI Takahiro wrote: Hi Vincent, Thank you for the update. On Fri, Jun 11, 2021 at 07:06:01PM +0200, Heinrich Schuchardt wrote: Cc: Takahiro, Sughosh, Ilias On 6/11/21 6:15 PM, Vincent Stehlé wrote: UpdateCapsule() must return EFI_INVALID_PARAMETER in a number of cases,

Re: [PATCH] efi_loader: check update capsule parameters

2021-06-11 Thread AKASHI Takahiro
Hi Vincent, Thank you for the update. On Fri, Jun 11, 2021 at 07:06:01PM +0200, Heinrich Schuchardt wrote: > Cc: Takahiro, Sughosh, Ilias > > On 6/11/21 6:15 PM, Vincent Stehlé wrote: > > UpdateCapsule() must return EFI_INVALID_PARAMETER in a number of cases, > > listed by the UEFI specification

Re: [PATCH] efi_loader: check update capsule parameters

2021-06-11 Thread Heinrich Schuchardt
Cc: Takahiro, Sughosh, Ilias On 6/11/21 6:15 PM, Vincent Stehlé wrote: UpdateCapsule() must return EFI_INVALID_PARAMETER in a number of cases, listed by the UEFI specification and tested by the SCT. Add a common function to do that. This fixes SCT UpdateCapsule_Conf failures. Reviewed-by: Gran

[PATCH] efi_loader: check update capsule parameters

2021-06-11 Thread Vincent Stehlé
UpdateCapsule() must return EFI_INVALID_PARAMETER in a number of cases, listed by the UEFI specification and tested by the SCT. Add a common function to do that. This fixes SCT UpdateCapsule_Conf failures. Reviewed-by: Grant Likely Signed-off-by: Vincent Stehlé Cc: Heinrich Schuchardt Cc: Alex