diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-04-29 20:21:39 +0200 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-04-30 10:25:07 +0200 |
commit | dd9056c06a0557bc08ca986530024568e01ede6f (patch) | |
tree | 68ccc003f347fd6a2a00a001907e1cfe28e1c4db /test | |
parent | b5f4e9e384c36234a0e7f1c60957f369c4c05b5e (diff) |
efi_loader: efidebug, avoid illegal memory access
For EFI_PERSISTENT_MEMORY_TYPE the 'efidebug memmap' command produces an
illegal memory access.
* Add the missing descriptive string for EFI_PERSISTENT_MEMORY_TYPE.
* Replace the check for EFI_MAX_MEMORY_TYPE by the ARRAY_SIZE() macro.
Reported-by: Coverity (CID 300336)
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions