
8 Dec
2024
8 Dec
'24
4:29 p.m.
On Sat, 23 Nov 2024 at 12:57, Matthew Garrett mjg59@srcf.ucam.org wrote:
From: Janis Danisevskis jdanisevskis@aurora.tech
efi_bind_block had two issues.
- 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 jdanisevskis@aurora.tech Signed-off-by: Matthew Garrett mgarrett@aurora.tech
lib/efi/efi_app_init.c | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org
Applied to ci/master, thanks!