commit | 7fca43f7184f6eb9fbe952f1eecaafcf079502f2 | [log] [tgz] |
---|---|---|
author | Christian Franke <nobody@nowhere.ws> | Tue Jun 14 20:07:03 2016 +0200 |
committer | Paul Jakma <paul.jakma@hpe.com> | Mon Oct 17 17:41:36 2016 +0100 |
tree | 6b6fee2ba5c0877a4032eaaffee6c241ba84dca4 | |
parent | 0d8b32a5ee43ccc4a67dd87ab21a4ab553e3bf44 [diff] |
ospf6d: don't access nexthops out of bounds Given that the && is evaluated lazily from left to right, i < OSPF6_MULTI_PATH_LIMIT should be checked prior to calling ospf6_nexthop_is_set on the array element, not the other way around. Signed-off-by: Christian Franke <chris@opensourcerouting.org> Signed-off-by: Christian Franke <chris@opensourcerouting.org> Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>