mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-25 13:01:23 +00:00
Merge pull request #8722 from opensourcerouting/ospfv3-asan-crash
ospf6d: fix address sanitizer crash
This commit is contained in:
commit
978f4b32eb
@ -1282,7 +1282,7 @@ void ospf6_asbr_redistribute_add(int type, ifindex_t ifindex,
|
||||
/* create new entry */
|
||||
route = ospf6_route_create();
|
||||
route->type = OSPF6_DEST_TYPE_NETWORK;
|
||||
memcpy(&route->prefix, prefix, sizeof(struct prefix));
|
||||
prefix_copy(&route->prefix, prefix);
|
||||
|
||||
info = (struct ospf6_external_info *)XCALLOC(
|
||||
MTYPE_OSPF6_EXTERNAL_INFO, sizeof(struct ospf6_external_info));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user