diff options
author | Qiu Shumin <shumin.qiu@intel.com> | 2015-12-18 07:36:16 +0000 |
---|---|---|
committer | vanjeff <vanjeff@Edk2> | 2015-12-18 07:36:16 +0000 |
commit | 322afa48f37a70db8c26a5c9561801861ad5d22f (patch) | |
tree | 75c0284e38deb379d2a88b1541ab8983da5f726a /EdkShellBinPkg | |
parent | b2a2d3c39cc2c589326b0b693ac3297205d518bd (diff) | |
download | edk2-platforms-322afa48f37a70db8c26a5c9561801861ad5d22f.tar.xz |
ShellPkg: Add NULL check to pointer returned from 'AllocateZeroPool'.
When CustomCumulativeToken is not NULL, the CustomCumulativeData is expected non-NULL.
Add 'ASSERT' statement to ensure this.
(Sync patch r18956 from main trunk.)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@19405 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkShellBinPkg')
0 files changed, 0 insertions, 0 deletions