diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2021-11-20 13:56:02 +0100 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2021-11-26 21:30:59 +0100 |
commit | cd9a26bfe56344822c75edbc771526099efe63e6 (patch) | |
tree | 91a10fc83f6832c0eea7457ffc645b35dcd55973 /test/py | |
parent | 3f73e79de83ecc78b9a9c823b8118ab1fba63b0a (diff) | |
download | u-boot-cd9a26bfe56344822c75edbc771526099efe63e6.tar.gz |
efi_loader: efi_disk_register() should not fail
Our algorithm for creating USB device paths may lead to duplicate device
paths which result in efi_disk_register() failing. Instead we should just
skip devices that cannot be registered as EFI block devices.
Fix a memory leak in efi_disk_add_dev() caused by the duplicate device
path.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'test/py')
0 files changed, 0 insertions, 0 deletions