mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 11:02:33 +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;
|
||||
break;
|
||||
default:
|
||||
lsdb = lsa->area->lsdb;
|
||||
if (lsa->area)
|
||||
lsdb = lsa->area->lsdb;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user