]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit3433314860cdd210d3e8bfd5151a9c440f20147d
tree37ac8712af0929067c454ff4d65e9592d481cbae
parentd5208d3dc8d15f4f205bf7f16e0e150fd5825b4c
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