commit | dd9056c06a0557bc08ca986530024568e01ede6f | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Wed Apr 29 20:21:39 2020 +0200 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Thu Apr 30 10:25:07 2020 +0200 |
tree | 68ccc003f347fd6a2a00a001907e1cfe28e1c4db | |
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>