summaryrefslogtreecommitdiff
path: root/lib/spf_backoff.c
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2017-02-23 14:27:00 +0100
committerChristian Franke <chris@opensourcerouting.org>2017-02-23 14:27:00 +0100
commitb79d6f95a3e716708b8010ddd03a3fa4272792a6 (patch)
tree4abacb18618873081bf67bdb3cf4727cc10b9d50 /lib/spf_backoff.c
parentb2184d8adce40576a9840bc4c2bbd406686e1972 (diff)
bgpd: fix bgp_info_addpath_{rx,tx}_str if addpath info is not present
The buffer needs to be set to length 0 if nothing is written into it, otherwise bgpd will log uninitialized memory, disclosing information and possibly leading to a crash. Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'lib/spf_backoff.c')
0 files changed, 0 insertions, 0 deletions