]> git.proxmox.com Git - mirror_edk2.git/commit
NetworkPkg: Enhance the NULL pointer check before dereference it.
authorFu Siyuan <siyuan.fu@intel.com>
Wed, 16 Sep 2015 08:52:24 +0000 (08:52 +0000)
committersfu5 <sfu5@Edk2>
Wed, 16 Sep 2015 08:52:24 +0000 (08:52 +0000)
commita8706acb0ee847c1521bd8db71c144fd24480e0b
tree5cc94a023dbbc446fc9f64d9f4509763b5978cc9
parentc9e240316cdcc99e036ad203de9e611638f706b4
NetworkPkg: Enhance the NULL pointer check before dereference it.

This patch enhances the NULL pointer check of the HttpInstance->RemoteHost
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>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18482 6f19259b-4bc3-4df7-8a09-765794883524
NetworkPkg/HttpDxe/HttpImpl.c