diff options
author | Michael Brown <mcb30@ipxe.org> | 2011-02-22 17:11:37 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2011-02-22 17:12:18 +0000 |
commit | 14a8b4bfef5ceb2e410a8db3583161a17dd0877c (patch) | |
tree | a492d8fa918db2ecf0ecf6ec6d91a5ee9511fa03 /src/include/ipxe/efi | |
parent | d7736fbb7bbf2116e95742affcaf45c2a7ee5476 (diff) | |
download | ipxe-14a8b4bfef5ceb2e410a8db3583161a17dd0877c.zip ipxe-14a8b4bfef5ceb2e410a8db3583161a17dd0877c.tar.gz ipxe-14a8b4bfef5ceb2e410a8db3583161a17dd0877c.tar.bz2 |
[efi] Provide space for storing the EFI driver name
Commit d7736fb ("[efi] Allow EFI to control PCI bus enumeration")
introduced a bug in which the EFI driver name became an
(uninitialised) pointer rather than an array.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/efi')
-rw-r--r-- | src/include/ipxe/efi/efi_driver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ipxe/efi/efi_driver.h b/src/include/ipxe/efi/efi_driver.h index 0633164..e5872ce 100644 --- a/src/include/ipxe/efi/efi_driver.h +++ b/src/include/ipxe/efi/efi_driver.h @@ -18,7 +18,7 @@ struct efi_driver { /** Name */ const char *name; /** EFI name */ - CHAR16 *wname; + CHAR16 wname[32]; /** EFI driver binding protocol */ EFI_DRIVER_BINDING_PROTOCOL driver; /** EFI component name protocol */ |