summaryrefslogtreecommitdiffstats
path: root/isisd/isis_lsp.c
diff options
context:
space:
mode:
authorF. Aragon <paco@voltanet.io>2018-06-28 16:48:37 +0200
committerF. Aragon <paco@voltanet.io>2018-06-28 16:48:37 +0200
commitc46df7876ac553e57fd2f18badb242023a5860c6 (patch)
treed77ae8e5fe44be52b18d78c29ac61363d32e5620 /isisd/isis_lsp.c
parentMerge pull request #2563 from pacovn/Coverity_1465494_String_not_null_termina... (diff)
downloadfrr-c46df7876ac553e57fd2f18badb242023a5860c6.tar.xz
frr-c46df7876ac553e57fd2f18badb242023a5860c6.zip
isisd: null check (Coverity 1424529)
Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'isisd/isis_lsp.c')
-rw-r--r--isisd/isis_lsp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/isisd/isis_lsp.c b/isisd/isis_lsp.c
index bba86d4c1..4dcde0cba 100644
--- a/isisd/isis_lsp.c
+++ b/isisd/isis_lsp.c
@@ -1052,6 +1052,7 @@ static void lsp_build(struct isis_lsp *lsp, struct isis_area *area)
uint8_t subtlv_len;
if (IS_MPLS_TE(isisMplsTE)
+ && circuit->interface != NULL
&& HAS_LINK_PARAMS(
circuit->interface))
/* Update Local and Remote IP