summaryrefslogtreecommitdiff
path: root/ArmVirtPkg
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2016-06-24 13:19:14 +0800
committerStar Zeng <star.zeng@intel.com>2016-06-28 18:17:30 +0800
commit763cfa739b1733715fe6700a29ec078c36453f5e (patch)
tree78b4783a3140c34f9b0535347c247c91d69d94e5 /ArmVirtPkg
parent631c942726640615d53e4a358c078bb915e1bdd4 (diff)
downloadedk2-763cfa739b1733715fe6700a29ec078c36453f5e.zip
edk2-763cfa739b1733715fe6700a29ec078c36453f5e.tar.gz
edk2-763cfa739b1733715fe6700a29ec078c36453f5e.tar.bz2
MdeModulePkg/HiiDatabaseDxe: Add ASSERT before using the pointer 'String'
The 'Sting' is returned by the function GetUnicodeStringTextAndSize. If it is NULL, function GetUnicodeStringTextAndSize will return EFI_OUT_OF_RESOURCES, and error handling codes will cover it. So the pointer 'Sting' can not be NULL when using it. So we can add the ASSERT codes. Cc: Eric Dong <eric.dong@intel.com> Cc: Hao Wu <hao.a.wu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Hao Wu <hao.a.wu@intel.com>
Diffstat (limited to 'ArmVirtPkg')
0 files changed, 0 insertions, 0 deletions