diff options
author | Quentin Young <qlyoung@users.noreply.github.com> | 2018-06-21 20:38:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-21 20:38:47 +0200 |
commit | c3fdecefb490894c235ce57f6c207882fb3c5a2c (patch) | |
tree | b940cd68db1b4fb15870731913e8c04d5d850300 /ospf6d | |
parent | Merge pull request #2513 from pacovn/Coverity_1455334_et_al_Dereference_null_... (diff) | |
parent | spf6d: fix use after free (2) (Coverity 1221459) (diff) | |
download | frr-c3fdecefb490894c235ce57f6c207882fb3c5a2c.tar.xz frr-c3fdecefb490894c235ce57f6c207882fb3c5a2c.zip |
Merge pull request #2502 from pacovn/Coverity_1221459_Use_after_free
ospf6d: fix use after free (2) (Coverity 1221459)
Diffstat (limited to 'ospf6d')
-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 2059d8486..ae26668c8 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) |