Revision: 18463
          http://sourceforge.net/p/edk2/code/18463
Author:   hwu1225
Date:     2015-09-15 05:44:16 +0000 (Tue, 15 Sep 2015)
Log Message:
-----------
NetworkPkg: Correct the missed code in r18449.

The fix r18449 missed 1 line which will cause Http.Request() ASSERT. This patch
will correct this error.

(Sync patch r18453 from main trunk.)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <[email protected]>
Reviewed-by: Ye Ting <[email protected]>

Revision Links:
--------------
    http://sourceforge.net/p/edk2/code/18449
    http://sourceforge.net/p/edk2/code/18449
    http://sourceforge.net/p/edk2/code/18453

Modified Paths:
--------------
    branches/UDK2015/NetworkPkg/HttpDxe/HttpImpl.c

Modified: branches/UDK2015/NetworkPkg/HttpDxe/HttpImpl.c
===================================================================
--- branches/UDK2015/NetworkPkg/HttpDxe/HttpImpl.c      2015-09-15 05:40:43 UTC 
(rev 18462)
+++ branches/UDK2015/NetworkPkg/HttpDxe/HttpImpl.c      2015-09-15 05:44:16 UTC 
(rev 18463)
@@ -275,7 +275,6 @@
     return EFI_ACCESS_DENIED;   
   }  
 
-  Url         = NULL;
   HostName    = NULL;
   Wrap        = NULL;
   HostNameStr = NULL;
@@ -284,6 +283,7 @@
   //
   // Parse the URI of the remote host.
   //
+  Url = HttpInstance->Url;
   UrlLen = StrLen (Request->Url) + 1;
   if (UrlLen > HTTP_URL_BUFFER_LEN) {
     Url = AllocateZeroPool (UrlLen);


------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to