diff options
author | Thomas Palmer <thomas.palmer@hpe.com> | 2016-03-31 01:16:48 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-03-31 09:21:05 +0800 |
commit | 065e587c179d17eabe38ef743cf3fd95a5a492a0 (patch) | |
tree | 665490e924fce14d9b8f795f924dce2e76d4a31a /Vlv2TbltDevicePkg/FspSupport | |
parent | 7361d3ff88e51a82282d86f268d83366f79a5075 (diff) | |
download | edk2-platforms-065e587c179d17eabe38ef743cf3fd95a5a492a0.tar.xz |
MdeModulePkg/UefiBootManagerLib: BmGetActiveConsoleIn code cleanup
Check for NULL from AllocateCopyPool before setting Count to 1. Also
change sizeof (EFI_HANDLE*) to sizeof (EFI_HANDLE). Handles is a
EFI_HANDLE pointer, so the allocated memory must be the size of
EFI_HANDLE.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Thomas Palmer <thomas.palmer@hpe.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'Vlv2TbltDevicePkg/FspSupport')
0 files changed, 0 insertions, 0 deletions