add security check.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8819 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff
2009-07-08 09:42:16 +00:00
parent 32d4a8efb9
commit 890986ca2a
8 changed files with 9 additions and 31 deletions

View File

@@ -824,6 +824,7 @@ DhcpBuild (
if (EFI_ERROR (Status)) {
goto ON_ERROR;
}
ASSERT (SeedOptions != NULL);
for (Index = 0; Index < (UINT32) Count; Index++) {
Mark[SeedOptions[Index].Tag] = SeedOptions[Index];