From: Maria Matejka Date: Wed, 8 Mar 2023 12:47:42 +0000 (+0100) Subject: Fixed use-after-free of old protocol name pointer copied into rte_owner structure X-Git-Tag: v3.0-alpha1~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88fc87afe631f6600e82c3f7135f6003a9c729b6;p=thirdparty%2Fbird.git Fixed use-after-free of old protocol name pointer copied into rte_owner structure --- diff --git a/nest/proto.c b/nest/proto.c index 3a8c938e5..959c948b0 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;