diff options
| author | Peter Jones <pjones@redhat.com> | 2021-04-10 16:05:23 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2021-05-24 16:05:18 -0400 |
| commit | 493bd940e5c6e28e673034687de7adef9529efff (patch) | |
| tree | 7b65c7673e846934dd9148d3e7208fb748175edc /lib | |
| parent | 4068fd42c891ea6ebdec056f461babc6e4048844 (diff) | |
| download | efi-boot-shim-493bd940e5c6e28e673034687de7adef9529efff.tar.gz efi-boot-shim-493bd940e5c6e28e673034687de7adef9529efff.zip | |
Don't call QueryVariableInfo() on EFI 1.10 machines
The EFI 1.10 spec (and presumably earlier revisions as well) didn't have
RT->QueryVariableInfo(), and on Chris Murphy's MacBookPro8,2 , that
memory appears to be initialized randomly.
This patch changes it to not call RT->QueryVariableInfo() if the
EFI_RUNTIME_SERVICES table's major revision is less than two, and
assumes our maximum variable size is 1024 in that case.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
