On Sat, 23 Nov 2024 at 12:57, Matthew Garrett <[email protected]> wrote: > > From: Janis Danisevskis <[email protected]> > > 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 <[email protected]> > Signed-off-by: Matthew Garrett <[email protected]> > --- > > lib/efi/efi_app_init.c | 29 +++++++++++++++++++++-------- > 1 file changed, 21 insertions(+), 8 deletions(-) >
Reviewed-by: Simon Glass <[email protected]>

