Skip to content

Commit

Permalink
[efi] Provide space for storing the EFI driver name
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mcb30 committed Feb 22, 2011
1 parent d7736fb commit 14a8b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/ipxe/efi/efi_driver.h
Expand Up @@ -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 */
Expand Down

0 comments on commit 14a8b4b

Please sign in to comment.