Revision: 18453 http://sourceforge.net/p/edk2/code/18453 Author: sfu5 Date: 2015-09-15 00:59:37 +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. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Fu Siyuan <siyuan...@intel.com> Reviewed-by: Ye Ting <ting...@intel.com> Revision Links: -------------- http://sourceforge.net/p/edk2/code/18449 http://sourceforge.net/p/edk2/code/18449 Modified Paths: -------------- trunk/edk2/NetworkPkg/HttpDxe/HttpImpl.c Modified: trunk/edk2/NetworkPkg/HttpDxe/HttpImpl.c =================================================================== --- trunk/edk2/NetworkPkg/HttpDxe/HttpImpl.c 2015-09-15 00:58:59 UTC (rev 18452) +++ trunk/edk2/NetworkPkg/HttpDxe/HttpImpl.c 2015-09-15 00:59:37 UTC (rev 18453) @@ -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 edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits