summaryrefslogtreecommitdiff
path: root/tests/bgp_capability_test.c
diff options
context:
space:
mode:
authorJorge Boncompte [DTI2] <jorge@dti2.net>2012-04-13 13:46:09 +0200
committerDavid Lamparter <equinox@diac24.net>2012-04-16 18:37:17 +0200
commitfa4094ac49b4cc23589f5c5b7e608c4b4ee6ca04 (patch)
tree6ee1470a3db1d3e09e455a34a41b6b5db4296847 /tests/bgp_capability_test.c
parent7939e016b3d4ecd2f5b8ad708b69607e05a084a6 (diff)
bgpd: Fix crash when disabling dampening (BZ#687)
Vladimir Podobaev reported that the following commands crashed the daemon. router bgp 123 bgp dampening no bgp dampening 1 2 3 4 no bgp dampening The problem was that bgp_damp_info_clean() tried to dereference the already freed reuse_list array in the second call to "no bgp dampening". Fixed by checking in bgp_damp_disable() that the dampening it's enabled before doing the cleanup. Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net>
Diffstat (limited to 'tests/bgp_capability_test.c')
0 files changed, 0 insertions, 0 deletions