diff options
| author | Dandan Bi <dandan.bi@intel.com> | 2016-02-29 09:37:07 +0300 |
|---|---|---|
| committer | Feng Tian <feng.tian@intel.com> | 2016-03-04 11:43:36 +0300 |
| commit | ed2992b3f7c0ac4da2c04a82e127c62ee87a4b00 (patch) | |
| tree | dcde879174d1733c414df8b3e086954697760485 /BaseTools/Source/Python/Ecc/Database.py | |
| parent | f5c12172f1e23b8906dc12702de31078d44c023e (diff) | |
| download | edk2-ed2992b3f7c0ac4da2c04a82e127c62ee87a4b00.tar.xz | |
SecurityPkg/SecureBootConfigDxe: Handle allocation failure gracefully
The function AllocateCopyPool may return NULL, so need to do check
after calling it. This patch is to enhance the related logic.
Cc: Chao Zhang <chao.b.zhang@intel.com>
Cc: Qiu Shumin <shumin.qiu@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/Database.py')
0 files changed, 0 insertions, 0 deletions
