Merge pull request #2580 from pacovn/Coverity_1424529_Dereference_after_null_check

isisd: null check (Coverity 1424529)
This commit is contained in:
Quentin Young 2018-06-28 12:23:56 -04:00 committed by GitHub
commit 2587508e87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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