]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/CpuCommonFeaturesLib: Add check for input parameter.
authorEric Dong <eric.dong@intel.com>
Tue, 26 Sep 2017 02:43:42 +0000 (10:43 +0800)
committerEric Dong <eric.dong@intel.com>
Wed, 27 Sep 2017 03:15:29 +0000 (11:15 +0800)
commit3dcb53258df3d3f7deb9ef4083fdb5b7aa9e22b3
tree0f979a52bf6ca359637cdb3dd80e051ba4ffee89
parentcbd7300c802d4a855991c041527d621717a984d2
UefiCpuPkg/CpuCommonFeaturesLib: Add check for input parameter.

The ConfigData parameter initialized in *GetConfigData function should not be NULL in
later *Support, *Initilize function, so just add ASSERT code check in these functions.

Cc: Ming Shao <ming.shao@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
UefiCpuPkg/Library/CpuCommonFeaturesLib/Aesni.c
UefiCpuPkg/Library/CpuCommonFeaturesLib/ProcTrace.c