On Sat, 23 Nov 2024 at 12:57, Matthew Garrett <mj...@srcf.ucam.org> wrote:
>
> From: Janis Danisevskis <jdanisevs...@aurora.tech>
>
> efi_bind_block had two issues.
> 1. A pointer to a the stack was inserted as plat structure and thus used
> beyond its life time.
> 2. Only the first segment of the device path was copied into the
> platfom data structure resulting in an unterminated device path.
>
> Signed-off-by: Janis Danisevskis <jdanisevs...@aurora.tech>
> Signed-off-by: Matthew Garrett <mgarr...@aurora.tech>
> ---
>
>  lib/efi/efi_app_init.c | 29 +++++++++++++++++++++--------
>  1 file changed, 21 insertions(+), 8 deletions(-)
>

Reviewed-by: Simon Glass <s...@chromium.org>

Reply via email to