Skip to content
Commit dd9056c0 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

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: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent b5f4e9e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment