diff options
author | tuexen <tuexen@FreeBSD.org> | 2012-08-04 20:40:36 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2012-08-04 20:40:36 +0000 |
commit | 3ad906801b6483381f75b2f80375e8cb638ff4a7 (patch) | |
tree | 413eed632ecca53e589b28f17a6f3d644e130653 /sys/netinet/sctp_pcb.c | |
parent | 4259905d3171a4cdd087436ff1c17eed74830b60 (diff) | |
download | FreeBSD-src-3ad906801b6483381f75b2f80375e8cb638ff4a7.zip FreeBSD-src-3ad906801b6483381f75b2f80375e8cb638ff4a7.tar.gz |
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.
Diffstat (limited to 'sys/netinet/sctp_pcb.c')
-rw-r--r-- | sys/netinet/sctp_pcb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c index 2630d89..fcf8b8c 100644 --- a/sys/netinet/sctp_pcb.c +++ b/sys/netinet/sctp_pcb.c @@ -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))]; |