From 7570eeb2d1ad4cc4447f0b30841c8c13484892e2 Mon Sep 17 00:00:00 2001 From: Rodrigo Nardi Date: Mon, 26 Jun 2023 07:23:46 -0300 Subject: [PATCH 1/4] bgp: Using variable after free --- bgpd/bgp_bfd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bgpd/bgp_bfd.c b/bgpd/bgp_bfd.c index d1ddfd0460..23c6ee3587 100644 --- a/bgpd/bgp_bfd.c +++ b/bgpd/bgp_bfd.c @@ -320,8 +320,10 @@ static void bgp_peer_remove_bfd(struct peer *p) return; } - if (p->bfd_config) - bfd_sess_free(&p->bfd_config->session); + if (p->bfd_config) { + bfd_sess_free(&p->bfd_config->session); + p->bfd_config->manual = false; + } XFREE(MTYPE_BFD_CONFIG, p->bfd_config); } From 72b072356872938cc1e3ba8dafae40950c46cb07 Mon Sep 17 00:00:00 2001 From: Rodrigo Nardi Date: Mon, 26 Jun 2023 07:26:23 -0300 Subject: [PATCH 2/4] bgp: Using variable after free --- bgpd/bgp_bfd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bgpd/bgp_bfd.c b/bgpd/bgp_bfd.c index 23c6ee3587..21ee505cdb 100644 --- a/bgpd/bgp_bfd.c +++ b/bgpd/bgp_bfd.c @@ -320,10 +320,8 @@ static void bgp_peer_remove_bfd(struct peer *p) return; } - if (p->bfd_config) { + if (p->bfd_config) bfd_sess_free(&p->bfd_config->session); - p->bfd_config->manual = false; - } XFREE(MTYPE_BFD_CONFIG, p->bfd_config); } From cfab3a707d2754311cf96f5b7f1657903ae741eb Mon Sep 17 00:00:00 2001 From: Martin Winter Date: Fri, 8 Dec 2023 14:21:12 +0100 Subject: [PATCH 3/4] main: Update Readme Signed-off-by: Martin Winter --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 600a91e386..bda4cb11d8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@

Icon

+# CI Test Repo +Not the real FRR Repo. It's just a CI Test + +For FRR, go to https://github.com/frrouting/frr.git FRRouting ========= From 76a5b462fd2aecd87902c93c1829841ae58b6fd7 Mon Sep 17 00:00:00 2001 From: Martin Winter Date: Fri, 22 Dec 2023 12:57:38 +0100 Subject: [PATCH 4/4] main: One more readme change Signed-off-by: Martin Winter --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bda4cb11d8..2f4f49db96 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Icon

# CI Test Repo -Not the real FRR Repo. It's just a CI Test +Not the real FRR Repo. It's just a CI Test ! For FRR, go to https://github.com/frrouting/frr.git