diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-08 09:42:16 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-08 09:42:16 +0000 |
commit | 890986ca2a976fb7f79f0734b606a75cdcabb87e (patch) | |
tree | cef0daec5f0ca7284c8291a6431c0bfc709ffe7a /MdeModulePkg/Universal/Network/Dhcp4Dxe | |
parent | 32d4a8efb9f4839ab6951dafdec62e7a5af5ba3a (diff) | |
download | edk2-platforms-890986ca2a976fb7f79f0734b606a75cdcabb87e.tar.xz |
add security check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8819 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Network/Dhcp4Dxe')
-rw-r--r-- | MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Option.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Option.c b/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Option.c index 11b8978b40..aa5009abf3 100644 --- a/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Option.c +++ b/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Option.c @@ -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];
|