svn commit: r239146 - stable/8/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Wed Aug 8 20:05:25 UTC 2012


Author: tuexen
Date: Wed Aug  8 20:05:25 2012
New Revision: 239146
URL: http://svn.freebsd.org/changeset/base/239146

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/8/sys/netinet/sctp_pcb.c
Directory Properties:
  stable/8/sys/   (props changed)

Modified: stable/8/sys/netinet/sctp_pcb.c
==============================================================================
--- stable/8/sys/netinet/sctp_pcb.c	Wed Aug  8 19:15:01 2012	(r239145)
+++ stable/8/sys/netinet/sctp_pcb.c	Wed Aug  8 20:05:25 2012	(r239146)
@@ -2050,8 +2050,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 mailing list