diff options
| author | Matthew Garrett <mjg@redhat.com> | 2012-07-13 00:30:22 -0400 |
|---|---|---|
| committer | Matthew Garrett <mjg@redhat.com> | 2012-07-13 00:30:22 -0400 |
| commit | 00ced0c1259b400ef135e9415d917f908e9a4500 (patch) | |
| tree | 88a5026dd50852b4dde10eac05b1f25ec7dec714 | |
| parent | bc6aaefa2d86017868087790a42cf31f96d3ec93 (diff) | |
| download | efi-boot-shim-00ced0c1259b400ef135e9415d917f908e9a4500.tar.gz efi-boot-shim-00ced0c1259b400ef135e9415d917f908e9a4500.zip | |
Handle slightly stranger device paths
| -rw-r--r-- | shim.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -707,6 +707,9 @@ static EFI_STATUS generate_path(EFI_LOADED_IMAGE *li, EFI_DEVICE_PATH **grubpath bootpath[i+1] = '\0'; + if (bootpath[i-i] == '\\') + bootpath[i] = '\0'; + *PathName = AllocatePool(StrSize(bootpath) + StrSize(SECOND_STAGE)); if (!*PathName) { |
