From 88fc87afe631f6600e82c3f7135f6003a9c729b6 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Wed, 8 Mar 2023 13:47:42 +0100 Subject: Fixed use-after-free of old protocol name pointer copied into rte_owner structure --- nest/proto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nest/proto.c') diff --git a/nest/proto.c b/nest/proto.c index 3a8c938e..959c948b 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -1390,7 +1390,7 @@ proto_reconfigure(struct proto *p, struct proto_config *oc, struct proto_config (nc->vrf != oc->vrf)) return 0; - p->name = nc->name; + p->sources.name = p->name = nc->name; p->debug = nc->debug; p->mrtdump = nc->mrtdump; reconfigure_type = type; -- cgit v1.2.3