Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jun 2010 18:38:59 +0300
From:      Valentin Nechayev <netch@netch.kiev.ua>
To:        Michael Tuexen <tuexen@freebsd.org>
Cc:        rrs@freebsd.org, net@freebsd.org
Subject:   Re: SCTP panic with sctp_send()
Message-ID:  <20100626153859.GB1502@netch.kiev.ua>
In-Reply-To: <9B01BACA-B0A6-4D89-8BE4-437002D7CE8E@freebsd.org>
References:  <20100626130013.GA1502@netch.kiev.ua> <9B01BACA-B0A6-4D89-8BE4-437002D7CE8E@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

 Sat, Jun 26, 2010 at 17:11:13, tuexen wrote about "Re: SCTP panic with sctp_send()": 

> > As seen from code, if uap->tolen is zero, `to' isn't initialized and remains
> > NULL. This error is identical to -CURRENT.
> How can the crash be reproduced?

Any code with sctp_send() under ktrace.

> Can you provide a small test program?

http://segfault.kiev.ua/~netch/20100626.2/
sps.c - server, spc.c - client
run server in one terminal and client under ktrace in another one.

> > why after `to'?

shall be written as "why 0 after `to'?"


-netch-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100626153859.GB1502>