[sctp-dev] Request for review: 6916890

Christopher Hegarty -Sun Microsystems Ireland Christopher.Hegarty at Sun.COM
Fri Jan 15 07:54:48 PST 2010


In the case where a heap buffer is supplied the implementation copies 
the data into a temporary native buffer before going native. The 
position and remaining data is incorrectly determined for this temporary 
buffer when the position of the original buffer is not 0.

Also, remove incorrect assertion from implementation.

CR 6916890: SctpChannel.send may cause IAE if given a heap buffer with 
an offset

Webrev:
   http://cr.openjdk.java.net/~chegar/6916890/webrev.0/webrev/

Thanks,
-Chris.




More information about the sctp-dev mailing list