]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Library/TcgStorageCoreLib/TcgStorageCore.c
SecurityPkg TcgStorageCoreLib: ASSERT to ensure 'ByteSeq' is not NULL
[mirror_edk2.git] / SecurityPkg / Library / TcgStorageCoreLib / TcgStorageCore.c
index e333b55352b8a2af8dbe7cb555cd0e75742d5d15..76b25a37754fd636ea3f08cde3ac55c4c2c6550f 100644 (file)
@@ -1435,6 +1435,8 @@ TcgGetNextTcgUid(
     return TcgResultFailure;\r
   }\r
 \r
+  ASSERT (ByteSeq != NULL);\r
+\r
   CopyMem(Uid, ByteSeq, sizeof(TCG_UID));\r
 \r
   return TcgResultSuccess;\r