mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-12 11:18:59 +00:00
Merge pull request #2502 from pacovn/Coverity_1221459_Use_after_free
ospf6d: fix use after free (2) (Coverity 1221459)
This commit is contained in:
commit
c3fdecefb4
@ -347,6 +347,7 @@ void ospf6_flood_interface(struct ospf6_neighbor *from, struct ospf6_lsa *lsa,
|
|||||||
"Received is newer, remove requesting");
|
"Received is newer, remove requesting");
|
||||||
if (req == on->last_ls_req) {
|
if (req == on->last_ls_req) {
|
||||||
ospf6_lsa_unlock(req);
|
ospf6_lsa_unlock(req);
|
||||||
|
req = NULL;
|
||||||
on->last_ls_req = NULL;
|
on->last_ls_req = NULL;
|
||||||
}
|
}
|
||||||
if (req)
|
if (req)
|
||||||
|
Loading…
Reference in New Issue
Block a user