Revision: 14306
          http://edk2.svn.sourceforge.net/edk2/?rev=14306&view=rev
Author:   vanjeff
Date:     2013-04-22 08:58:27 +0000 (Mon, 22 Apr 2013)
Log Message:
-----------
Add security check.

Signed-off-by: Jeff Fan <[email protected]>
Reviewed-by: Ruiyu Ni <[email protected]>

Modified Paths:
--------------
    
trunk/edk2/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAgentLib.c

Modified: 
trunk/edk2/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAgentLib.c
===================================================================
--- 
trunk/edk2/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAgentLib.c
    2013-04-22 08:52:58 UTC (rev 14305)
+++ 
trunk/edk2/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAgentLib.c
    2013-04-22 08:58:27 UTC (rev 14306)
@@ -281,6 +281,7 @@
   // Update Mailbox Location pointer in GUIDed HOB and IDT entry with new one
   //
   MailboxLocationInHob = GetMailboxLocationFromHob ();
+  ASSERT (MailboxLocationInHob != NULL);
   *MailboxLocationInHob = (UINT64)(UINTN)NewMailbox;
   SetLocationSavedMailboxPointerInIdtEntry (MailboxLocationInHob);
   //

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to