efi_loader: path length in efi_dp_from_name()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 25 May 2021 10:07:30 +0000 (12:07 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 25 May 2021 11:06:57 +0000 (13:06 +0200)
commit9a6b33bef246460215ce1d45e77f98c5aa57f6d0
tree37ac8712af0929067c454ff4d65e9592d481cbae
parentf6081a8a1e45e4864e36d83ccc236eef62478b1f
efi_loader: path length in efi_dp_from_name()

Before this patch efi_dp_from_name() only accommodated a maximum file path
length of 31 characters. This leads to boot failures due to file name
truncation.

Allow arbitrary path lengths.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_device_path.c