Author: tuexen Date: Mon Aug 6 10:50:23 2012 New Revision: 239091 URL: http://svn.freebsd.org/changeset/base/239091
Log: Fix a bug found by dim@: Don't use an uninitilized variable, if INVARIANTS is on and an illegal packet with destination 0 is received. MFC after: 3 days X-MFC with: 238003 Modified: head/sys/netinet/sctp_input.c Modified: head/sys/netinet/sctp_input.c ============================================================================== --- head/sys/netinet/sctp_input.c Mon Aug 6 08:59:39 2012 (r239090) +++ head/sys/netinet/sctp_input.c Mon Aug 6 10:50:23 2012 (r239091) @@ -5600,7 +5600,7 @@ sctp_common_input_processing(struct mbuf struct mbuf *m = *mm; int un_sent; int cnt_ctrl_ready = 0; - struct sctp_inpcb *inp, *inp_decr = NULL; + struct sctp_inpcb *inp = NULL, *inp_decr = NULL; struct sctp_tcb *stcb = NULL; struct sctp_nets *net = NULL; _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"