Files
edk2/MdeModulePkg/Library/DxeNetLib
Wang Fan e2cef60f80 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 <[email protected]>
Cc: Jiaxin Wu <[email protected]>
Cc: Hao Wu <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wang Fan <[email protected]>
Reviewed-by: Hao Wu <[email protected]>
Reviewed-by: Fu Siyuan <[email protected]>
Reviewed-by: Jiaxin Wu <[email protected]>
(cherry picked from commit e0e26f9c1f)
2018-01-12 11:10:45 +08:00
..