/** @file\r
Function to validate, parse, process the DHCP options.\r
\r
-Copyright (c) 2006 - 2008, Intel Corporation.<BR>\r
+Copyright (c) 2006 - 2009, Intel Corporation.<BR>\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
}\r
\r
AllOption = NULL;\r
- Status = DhcpParseOption (Packet, &Count, &AllOption);\r
\r
+ Status = DhcpParseOption (Packet, &Count, &AllOption);\r
if (EFI_ERROR (Status) || (Count == 0)) {\r
return Status;\r
}\r
\r
for (Index = 0; Index < Count; Index++) {\r
Option = &AllOption[Index];\r
+ ASSERT (Option != NULL);\r
\r
//\r
// Find the format of the option then validate it.\r