| commit | 40696972bffcd5067de02ba6afc19b773e2cfab1 | [log] [tgz] |
|---|---|---|
| author | Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@hpe.com> | Fri Feb 12 07:57:59 2016 +0800 |
| committer | Fu Siyuan <siyuan.fu@intel.com> | Sun Feb 14 10:31:20 2016 +0800 |
| tree | 98735053afcc2a0774937453e23e6b8ab932a5dc | |
| parent | 93aea44f42000cbaacc91df0cad5fc5ca464f061 [diff] |
NetworkPkg: better sanity check on Ipv6 prefix length Fix a possible buffer overrun issue that could occur if PrefixLength > 128 . Changed == 128 to >= 128. Also remove check for Byte < 16, which is no longer possible because of the first change. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Samer El-Haj-Mahmoud <elhaj@hpe.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>