diff options
author | Maria Matejka <mq@ucw.cz> | 2023-03-08 13:47:42 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2023-04-04 17:00:58 +0200 |
commit | 88fc87afe631f6600e82c3f7135f6003a9c729b6 (patch) | |
tree | 845cb4bf00d01f74599b7ee0c597dac870f9ce72 | |
parent | 90de93ca0336b95038dddaef276d0c7ae5b7bbff (diff) |
Fixed use-after-free of old protocol name pointer copied into rte_owner structure
-rw-r--r-- | nest/proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |