diff options
author | Ross Lagerwall <[email protected]> | 2015-04-02 08:39:00 +0100 |
---|---|---|
committer | Matt Fleming <[email protected]> | 2015-04-17 15:41:13 +0100 |
commit | c57dcb566d3d866a302a1da2e06344bec31d5bcd (patch) | |
tree | dcfff9f237c2d3d6d82ccecbeee230f1756119ce /scripts/gdb/linux | |
parent | bfbaafae8519d82d10da6abe75f5766dd5b20475 (diff) |
efivarfs: Ensure VariableName is NUL-terminated
Some buggy firmware implementations update VariableNameSize on success
such that it does not include the final NUL character which results in
garbage in the efivarfs name entries. Use kzalloc on the efivar_entry
(as is done in efivars.c) to ensure that the name is always
NUL-terminated.
The buggy firmware is:
BIOS Information
Vendor: Intel Corp.
Version: S1200RP.86B.02.02.0005.102320140911
Release Date: 10/23/2014
BIOS Revision: 4.6
System Information
Manufacturer: Intel Corporation
Product Name: S1200RP_SE
Signed-off-by: Ross Lagerwall <[email protected]>
Acked-by: Matthew Garrett <[email protected]>
Cc: Jeremy Kerr <[email protected]>
Cc: <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions