diff options
author | Dandan Bi <dandan.bi@intel.com> | 2016-02-29 14:37:07 +0800 |
---|---|---|
committer | Feng Tian <feng.tian@intel.com> | 2016-03-04 16:43:36 +0800 |
commit | ed2992b3f7c0ac4da2c04a82e127c62ee87a4b00 (patch) | |
tree | dcde879174d1733c414df8b3e086954697760485 /Nt32Pkg | |
parent | f5c12172f1e23b8906dc12702de31078d44c023e (diff) | |
download | edk2-ed2992b3f7c0ac4da2c04a82e127c62ee87a4b00.tar.gz edk2-ed2992b3f7c0ac4da2c04a82e127c62ee87a4b00.tar.bz2 edk2-ed2992b3f7c0ac4da2c04a82e127c62ee87a4b00.zip |
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 'Nt32Pkg')
0 files changed, 0 insertions, 0 deletions