MFC r287456:

Add a NULL pointer check to silence the clang code analyzer.
This commit is contained in:
tuexen 2016-01-16 14:50:43 +00:00
parent f7eeeeafb4
commit 6ec65b594f

@ -2667,6 +2667,9 @@ sctp_notify_assoc_change(uint16_t state, struct sctp_tcb *stcb,
#endif
if (stcb == NULL) {
return;
}
if (sctp_stcb_is_feature_on(stcb->sctp_ep, stcb, SCTP_PCB_FLAGS_RECVASSOCEVNT)) {
notif_len = sizeof(struct sctp_assoc_change);
if (abort != NULL) {