diff options
author | Jiaxin Wu <jiaxin.wu@intel.com> | 2016-12-26 09:53:20 +0800 |
---|---|---|
committer | Jiaxin Wu <jiaxin.wu@intel.com> | 2016-12-26 16:56:23 +0800 |
commit | 12b96a93f3f4f6827242f83f108a8d9c209dc6d0 (patch) | |
tree | 7ab6c2283d981323b8140c0fded2e0849424842c /NetworkPkg/HttpDxe | |
parent | 5ea07b9d15fac130a53737e7ce2a29ae7a691520 (diff) | |
download | edk2-platforms-12b96a93f3f4f6827242f83f108a8d9c209dc6d0.tar.xz |
NetworkPkg: Fix potentially uninitialized local variable
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Diffstat (limited to 'NetworkPkg/HttpDxe')
-rw-r--r-- | NetworkPkg/HttpDxe/HttpProto.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/NetworkPkg/HttpDxe/HttpProto.c b/NetworkPkg/HttpDxe/HttpProto.c index 199d575cf9..2e784def4c 100644 --- a/NetworkPkg/HttpDxe/HttpProto.c +++ b/NetworkPkg/HttpDxe/HttpProto.c @@ -1475,6 +1475,8 @@ HttpTransmitTcp ( Status = EFI_SUCCESS;
Buffer = NULL;
+ TempFragment.Len = 0;
+ TempFragment.Bulk = NULL;
//
// Need to encrypt data.
|