diff options
| author | Christian Franke <nobody@nowhere.ws> | 2016-06-14 20:07:00 +0200 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-10-20 20:28:26 -0400 |
| commit | 099111efa997efa69596cff9b3a598464fc854cf (patch) | |
| tree | 653222f539001c05169bf8a4c5a686ca7ed31aef /lib/json.c | |
| parent | b84ee83b10473391caa7a8dbc3d7a21f9558a95d (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>
Diffstat (limited to 'lib/json.c')
0 files changed, 0 insertions, 0 deletions
