mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-28 21:20:48 +00:00
spf6d: fix use after free (Coverity 1221459)
Signed-off-by: F. Aragon <paco@voltanet.io>
This commit is contained in:
parent
9eafc8abd7
commit
ce872c6adb
@ -349,8 +349,9 @@ void ospf6_flood_interface(struct ospf6_neighbor *from, struct ospf6_lsa *lsa,
|
||||
ospf6_lsa_unlock(req);
|
||||
on->last_ls_req = NULL;
|
||||
}
|
||||
ospf6_lsdb_remove(req,
|
||||
on->request_list);
|
||||
if (req)
|
||||
ospf6_lsdb_remove(req,
|
||||
on->request_list);
|
||||
ospf6_check_nbr_loading(on);
|
||||
/* fall through */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user