summaryrefslogtreecommitdiff
path: root/ArmPkg
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2016-02-29 14:37:07 +0800
committerFeng Tian <feng.tian@intel.com>2016-03-04 16:43:36 +0800
commited2992b3f7c0ac4da2c04a82e127c62ee87a4b00 (patch)
treedcde879174d1733c414df8b3e086954697760485 /ArmPkg
parentf5c12172f1e23b8906dc12702de31078d44c023e (diff)
downloadedk2-platforms-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 'ArmPkg')
0 files changed, 0 insertions, 0 deletions