Reported by:		syzbot+f3a6fccfa6ae9d3ded29@syzkaller.appspotmail.com
MFC after:		1 week
This commit is contained in:
Michael Tuexen 2020-06-30 21:50:05 +00:00
parent 12c470af75
commit 7a3f60e7f5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362813

View File

@ -5247,7 +5247,11 @@ sctp_find_ifa_in_ep(struct sctp_inpcb *inp, struct sockaddr *addr,
if (holds_lock == 0) {
SCTP_INP_RUNLOCK(inp);
}
return (laddr->ifa);
if (laddr != NULL) {
return (laddr->ifa);
} else {
return (NULL);
}
}
uint32_t