enhanced security check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7509 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -973,6 +973,11 @@ ConstructConfigHdr (
|
||||
CHAR16 *StrPtr;
|
||||
EFI_DEVICE_PATH_PROTOCOL *DevicePath;
|
||||
|
||||
//
|
||||
// Make sure
|
||||
//
|
||||
ASSERT (!(ConfigHdr == NULL && *StrBufferLen != 0));
|
||||
|
||||
if (Name == NULL) {
|
||||
//
|
||||
// There will be no "NAME" in <ConfigHdr> for Name/Value storage
|
||||
|
Reference in New Issue
Block a user