RFR [9] 8034181: SIGBUS at Java_sun_nio_ch_SctpChannelImpl_receive0

Alan Bateman Alan.Bateman at oracle.com
Mon Mar 24 16:17:43 UTC 2014


On 24/03/2014 14:09, Chris Hegarty wrote:
> Alan, Dmitry,
>
> I updated the webrev. It now allocates memory dynamically, and asserts 
> that the number of bytes read is less than the size of 
> sctp_notification ( for notifications ).
>
> http://cr.openjdk.java.net/~chegar/8034181/webrev.01/webrev/
>
> -Chris.
This looks okay to me and I wouldn't expect the malloc'ed case to be common.

One comment on the test is that "75" isn't obvious and might be useful 
as a constant at the top to explain that it's the total number of 
combinations.

-Alan


More information about the net-dev mailing list