NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-arm/55486 (bootaa64.efi is broken)

Synopsis: bootaa64.efi is broken

State-Changed-From-To: open->feedback
State-Changed-When: Tue, 11 Aug 2020 07:10:04 +0000
Fixed by this commit?
Module Name:	src
Committed By:	jmcneill
Date:		Wed Jul 15 00:51:40 UTC 2020

Modified Files:
	src/sys/stand/efiboot: efiboot.h efidev.c efifile.c

Log Message:
Fixup OpenSimpleReadFile usage:
 - The "EFI_DEVICE_PATH **FilePath" parameter can change, so do not free
   the output. This was causing crashes on U-Boot when attempting to load
   boot.cfg, even if it didn't exist.
 - Allocate the SIMPLE_READ_FILE in advance and store a pointer to it in
   struct open_file.

To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/stand/efiboot/efiboot.h
cvs rdiff -u -r1.1 -r1.2 src/sys/stand/efiboot/efidev.c
cvs rdiff -u -r1.4 -r1.5 src/sys/stand/efiboot/efifile.c

Home | Main Index | Thread Index | Old Index