[sctp-dev] [Fwd: RE: IAE multiple sends]
Christopher Hegarty -Sun Microsystems Ireland
Christopher.Hegarty at Sun.COM
Mon Jan 18 07:22:09 PST 2010
Christopher Hegarty -Sun Microsystems Ireland wrote:
> Bruce,
>
> I filed the following bug against this issue.
>
> 6916890: SctpChannel.send may cause IAE if given a heap buffer with an
> offset
I pushed the changes for this bug, and it should be available in JDK7 b81.
For reference,
Code Review:
http://mail.openjdk.java.net/pipermail/sctp-dev/2010-January/000158.html
changeset:
http://hg.openjdk.java.net/jdk7/tl/jdk/rev/680d7d312a30
-Chris.
>
> 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.
>
> -Chris.
More information about the sctp-dev
mailing list