mirror of
https://github.com/utmapp/edk2.git
synced 2026-12-01 14:00:40 -10:00
* 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)