]> git.proxmox.com Git - mirror_edk2.git/commit
NetworkPkg: update code for NULL pointer check.
authorFu Siyuan <siyuan.fu@intel.com>
Mon, 23 May 2016 03:02:01 +0000 (11:02 +0800)
committerFu Siyuan <siyuan.fu@intel.com>
Tue, 24 May 2016 08:37:42 +0000 (16:37 +0800)
commit5646819ffb2d9cb87785e9e409f8d928a9f3a04d
tree181b19ad5176b04b371e2f95cc67245214719bcb
parent26bd6437ca574c6285d4c47d147f96630fa5f837
NetworkPkg: update code for NULL pointer check.

This patch updates the HTTP driver to initialize the local variable for NULL
and check the NULL pointer before dereference it.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
NetworkPkg/HttpDxe/HttpImpl.c