commit | 0d8b32a5ee43ccc4a67dd87ab21a4ab553e3bf44 | [log] [tgz] |
---|---|---|
author | Christian Franke <nobody@nowhere.ws> | Tue Jun 14 20:07:00 2016 +0200 |
committer | Paul Jakma <paul.jakma@hpe.com> | Mon Oct 17 17:41:36 2016 +0100 |
tree | 866250b3e2c949344bfce2f104b8820a752834ca | |
parent | bb04351973bd369623a0fbed3ef59e7b4fd0bd05 [diff] |
bgpd: fix off-by-one in attribute flags handling bgp_attr_flag_invalid can access beyond the last element of attr_flags_values. Fix this by initializing attr_flags_values_max to the correct value. Signed-off-by: Christian Franke <chris@opensourcerouting.org> Signed-off-by: Christian Franke <chris@opensourcerouting.org> Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>