diff options
| author | Quentin Young <qlyoung@users.noreply.github.com> | 2018-06-21 14:38:47 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-21 14:38:47 -0400 |
| commit | c3fdecefb490894c235ce57f6c207882fb3c5a2c (patch) | |
| tree | b940cd68db1b4fb15870731913e8c04d5d850300 | |
| parent | 132880ad0a246b65c496fa68ccdaee57d16d41c3 (diff) | |
| parent | 7edb6aa5834437b6cf6850b4de1684841f0e88f2 (diff) | |
Merge pull request #2502 from pacovn/Coverity_1221459_Use_after_free
ospf6d: fix use after free (2) (Coverity 1221459)
| -rw-r--r-- | ospf6d/ospf6_flood.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ospf6d/ospf6_flood.c b/ospf6d/ospf6_flood.c index 2059d84868..ae26668c8a 100644 --- a/ospf6d/ospf6_flood.c +++ b/ospf6d/ospf6_flood.c @@ -347,6 +347,7 @@ void ospf6_flood_interface(struct ospf6_neighbor *from, struct ospf6_lsa *lsa, "Received is newer, remove requesting"); if (req == on->last_ls_req) { ospf6_lsa_unlock(req); + req = NULL; on->last_ls_req = NULL; } if (req) |
