svn commit: r239447 - stable/9/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Mon Aug 20 16:42:45 UTC 2012
Author: tuexen
Date: Mon Aug 20 16:42:45 2012
New Revision: 239447
URL: http://svn.freebsd.org/changeset/base/239447
Log:
MFC r239041:
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.
This bug was found by Shaun Colley.
Modified:
stable/9/sys/netinet/sctp_pcb.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/netinet/sctp_pcb.c
==============================================================================
--- stable/9/sys/netinet/sctp_pcb.c Mon Aug 20 16:40:15 2012 (r239446)
+++ stable/9/sys/netinet/sctp_pcb.c Mon Aug 20 16:42:45 2012 (r239447)
@@ -2048,8 +2048,6 @@ sctp_findassoc_by_vtag(struct sockaddr *
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))];
More information about the svn-src-stable-9
mailing list