BaseMemoryLib:
Correct wrong ASSERT()s on SetMem16(), SetMem32(), SetMem64() HobLib: Add Missing ASSERT()s for BuildGuidHobData() since CopyMem() now allow zero source buffer with length > 0. BasePrintLib Add ASSERT()s to check NULL buffer and NULL format. PostCodeLib Add 3 instances of PostCodeLib and introduce new Pcd for post code property mask. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@438 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -110,6 +110,9 @@ BasePrintLibVSPrint (
|
||||
UINTN Radix;
|
||||
RETURN_STATUS Status;
|
||||
|
||||
ASSERT (Buffer != NULL);
|
||||
ASSERT (Format != NULL);
|
||||
|
||||
OriginalBuffer = Buffer;
|
||||
|
||||
if ((Flags & OUTPUT_UNICODE) != 0) {
|
||||
|
Reference in New Issue
Block a user