audk/MdeModulePkg/Library/DxeNetLib
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
..
DxeNetLib.c MdeModulePkg/DxeNetLib: Add array range check in NetIp6IsNetEqual(). 2018-01-12 11:08:44 +08:00
DxeNetLib.inf MdeModulePkg/NetLib: Add NetLibDetectMediaWaitTimeout() API to support EFI_NOT_READY media state detection 2017-12-06 13:10:05 +08:00
DxeNetLib.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
NetBuffer.c MdeModulePkg/DxeNetLib: Check the actual packet size before trim data from Nbuf. 2017-09-28 15:36:49 +08:00