audk/MdeModulePkg
Wang Fan e0e26f9c1f MdeModulePkg/DxeNetLib: Add array range check in NetIp6IsNetEqual().
* The library API use array elements without any index range check, this
patch is to fix this issue to avoid null pointer reference.

V2
* Added an ASSERT check for the case PrefixLength equals to IP6_PREFIX_MAX.
* Synced some code descriptions to head file.

Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Hao Wu <hao.a.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wang Fan <fan.wang@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
2018-01-12 11:08:44 +08:00
..
Application MdeModulePkg: Fix misuses of AllocateCopyPool 2017-11-08 17:13:03 +08:00
Bus MdeModulePkg/PciBus: Change switch-case to if-else to fix EBC build 2018-01-10 10:28:30 +08:00
Core MdeModulePkg PeiCore: Update debug message to print FV handle correctly 2017-12-28 15:21:39 +08:00
Include MdeModulePkg/DxeNetLib: Add array range check in NetIp6IsNetEqual(). 2018-01-12 11:08:44 +08:00
Library MdeModulePkg/DxeNetLib: Add array range check in NetIp6IsNetEqual(). 2018-01-12 11:08:44 +08:00
Logo MdeModulePkg/LogoDxe: Return error if HII Package not present 2017-05-22 16:30:11 -07:00
Universal MdeModulePkg/Dhcp4Dxe: Free NET_BUF data after sent out to avoid memory leak 2018-01-11 08:56:10 +08:00
MdeModulePkg.dec MdeModulePkg/MdeModulePkg.dec: clarify Heap Guard usage 2018-01-10 09:52:38 +08:00
MdeModulePkg.dsc MdeModulePkg: Add UdfDxe to the dsc file 2017-09-13 18:24:40 +08:00
MdeModulePkg.uni MdeModulePkg/MdeModulePkg.uni: clarify Heap Guard usage 2018-01-10 09:52:39 +08:00
MdeModulePkgExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00