mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 18:56:40 +00:00
ospfd: dereference check (Clang scan-build)
Signed-off-by: F. Aragon <paco@voltanet.io>
This commit is contained in:
parent
b65928513f
commit
a37befa70b
@ -2582,7 +2582,8 @@ struct ospf_lsa *ospf_lsa_install(struct ospf *ospf, struct ospf_interface *oi,
|
|||||||
lsdb = ospf->lsdb;
|
lsdb = ospf->lsdb;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
lsdb = lsa->area->lsdb;
|
if (lsa->area)
|
||||||
|
lsdb = lsa->area->lsdb;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user