diff options
author | paco <paco@voltanet.io> | 2018-06-20 18:35:20 +0200 |
---|---|---|
committer | paco <paco@voltanet.io> | 2018-06-20 18:35:20 +0200 |
commit | ed35fc05939f481f6e2493af981d4f7073365840 (patch) | |
tree | e7e9b2c2b5a58a172ae9bb9129d91bbddd6a492b /ospfd | |
parent | Merge pull request #2459 from pacovn/Coverity_1469898_Uninitialized_scalar_va... (diff) | |
download | frr-ed35fc05939f481f6e2493af981d4f7073365840.tar.xz frr-ed35fc05939f481f6e2493af981d4f7073365840.zip |
ospfd: null check (Coverity 23110)
Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'ospfd')
-rw-r--r-- | ospfd/ospf_apiserver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ospfd/ospf_apiserver.c b/ospfd/ospf_apiserver.c index 37735e361..92e2a3dcb 100644 --- a/ospfd/ospf_apiserver.c +++ b/ospfd/ospf_apiserver.c @@ -1741,6 +1741,8 @@ struct ospf_lsa *ospf_apiserver_lsa_refresher(struct ospf_lsa *lsa) struct ospf_lsa *new = NULL; struct ospf *ospf; + assert(lsa); + ospf = ospf_lookup_by_vrf_id(VRF_DEFAULT); assert(ospf); |