diff options
| author | Thomas Palmer <thomas.palmer@hpe.com> | 2016-03-30 20:16:48 +0300 |
|---|---|---|
| committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-03-31 04:21:05 +0300 |
| commit | 065e587c179d17eabe38ef743cf3fd95a5a492a0 (patch) | |
| tree | 665490e924fce14d9b8f795f924dce2e76d4a31a /BaseTools/Source/Python/CommonDataClass/PlatformClass.py | |
| parent | 7361d3ff88e51a82282d86f268d83366f79a5075 (diff) | |
| download | edk2-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 'BaseTools/Source/Python/CommonDataClass/PlatformClass.py')
0 files changed, 0 insertions, 0 deletions
