commit | 45176e899187562a12660b1d3a4a520a606ab251 | [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 | 8d8be694f437b2d8e36ef54e2ff06c6b5184f8e5 [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>