Fix a bug reported by Simon L. B. Nielsen:
If an SCTP endpoint receives an ASCONF with a wildcard lookup address and incorrect verification tag, the system crashes. MFC after: 3 days.
This commit is contained in:
parent
0055cbd3c5
commit
832208514f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=239041
@ -2055,8 +2055,6 @@ sctp_findassoc_by_vtag(struct sockaddr *from, struct sockaddr *to, uint32_t vtag
|
||||
struct sctp_nets *net;
|
||||
struct sctp_tcb *stcb;
|
||||
|
||||
*netp = NULL;
|
||||
*inp_p = NULL;
|
||||
SCTP_INP_INFO_RLOCK();
|
||||
head = &SCTP_BASE_INFO(sctp_asochash)[SCTP_PCBHASH_ASOC(vtag,
|
||||
SCTP_BASE_INFO(hashasocmark))];
|
||||
|
Loading…
Reference in New Issue
Block a user