]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Mtftp6Dxe/Mtftp6Wrq.c
IntelSiliconPkg/header: update PlatformVtdPolicy
[mirror_edk2.git] / NetworkPkg / Mtftp6Dxe / Mtftp6Wrq.c
index 69ef4d2093270baea28625d13fd638d127e0cd13..254b757f7e759e0caa7f5f41c4893d871e948db8 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Mtftp6 Wrq process functions implementation.\r
 \r
-  Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -295,6 +295,7 @@ Mtftp6WrqHandleOack (
   INTN                      Expected;\r
 \r
   *IsCompleted = FALSE;\r
+  Options = NULL;\r
 \r
   //\r
   // Ignore the OACK if already started the upload\r
@@ -315,6 +316,7 @@ Mtftp6WrqHandleOack (
   if (EFI_ERROR (Status)) {\r
     return Status;\r
   }\r
+  ASSERT (Options != NULL);\r
 \r
   Status = Mtftp6ParseExtensionOption (Options, Count, FALSE, &ExtInfo);\r
 \r