mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-31 13:33:36 +00:00
Merge pull request #599 from qlyoung/fix-ospf6-uaf-3.0
ospf6d: fix use-after-free
This commit is contained in:
commit
572244546c
@ -1455,13 +1455,14 @@ ospf6_intra_route_calculation (struct ospf6_area *oa)
|
|||||||
{
|
{
|
||||||
if (hook_add)
|
if (hook_add)
|
||||||
(*hook_add) (route);
|
(*hook_add) (route);
|
||||||
|
route->flag = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Redo the summaries as things might have changed */
|
/* Redo the summaries as things might have changed */
|
||||||
ospf6_abr_originate_summary (route);
|
ospf6_abr_originate_summary (route);
|
||||||
|
route->flag = 0;
|
||||||
}
|
}
|
||||||
route->flag = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (IS_OSPF6_DEBUG_EXAMIN (INTRA_PREFIX))
|
if (IS_OSPF6_DEBUG_EXAMIN (INTRA_PREFIX))
|
||||||
|
Loading…
Reference in New Issue
Block a user