summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core/PiSmmCore/Locate.c
diff options
context:
space:
mode:
authorhhuan13 <hhuan13@6f19259b-4bc3-4df7-8a09-765794883524>2010-03-02 02:58:03 +0000
committerhhuan13 <hhuan13@6f19259b-4bc3-4df7-8a09-765794883524>2010-03-02 02:58:03 +0000
commit52c0d06b94665def4977e13ea329dccb17f46da5 (patch)
tree95489348c71ce53b13164fac885f1f1c23303664 /MdeModulePkg/Core/PiSmmCore/Locate.c
parentd989c453eaf99c4278152818c78aee5fa08bd6e8 (diff)
downloadedk2-platforms-52c0d06b94665def4977e13ea329dccb17f46da5.tar.xz
Fix K8 scan issues
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10151 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/PiSmmCore/Locate.c')
-rw-r--r--MdeModulePkg/Core/PiSmmCore/Locate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Core/PiSmmCore/Locate.c b/MdeModulePkg/Core/PiSmmCore/Locate.c
index ca95ee4e17..00b2c892e7 100644
--- a/MdeModulePkg/Core/PiSmmCore/Locate.c
+++ b/MdeModulePkg/Core/PiSmmCore/Locate.c
@@ -398,6 +398,7 @@ SmmLocateHandle (
*BufferSize = ResultSize;
if (SearchType == ByRegisterNotify && !EFI_ERROR(Status)) {
+ ASSERT (SearchKey != NULL);
//
// If this is a search by register notify and a handle was
// returned, update the register notification position