NetworkPkg: Fix the potential NULL pointer dereferenced issue
authorJiaxin Wu <jiaxin.wu@intel.com>
Thu, 10 Dec 2015 01:44:56 +0000 (01:44 +0000)
committerjiaxinwu <jiaxinwu@Edk2>
Thu, 10 Dec 2015 01:44:56 +0000 (01:44 +0000)
commit00c0c3f24fb36bd7b32f4075bcc7b65a0c113be9
tree0b3051152bb4b3fd58a7d9b5930e7fadfdcc0c45
parentc2788f1c2b07a3d18572a416833e3dd950a020fd
NetworkPkg: Fix the potential NULL pointer dereferenced issue

This patch is used to fix the potential NULL pointer dereferenced
in function 'ParseDnsResponse'.

Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Zhang Lubo <lubo.zhang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
Reviewed-by: Zhang Lubo <lubo.zhang@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19178 6f19259b-4bc3-4df7-8a09-765794883524
NetworkPkg/DnsDxe/DnsImpl.c