bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/24608] Incorrect buffer length gnu.java.nio.SocketChannel


From: mark at klomp dot org
Subject: [Bug classpath/24608] Incorrect buffer length gnu.java.nio.SocketChannelImpl with direct ByteBuffer
Date: 11 Nov 2005 11:54:28 -0000


------- Comment #1 from mark at gcc dot gnu dot org  2005-11-11 11:54 -------
Subject: Re:  New: Incorrect buffer length
        gnu.java.nio.SocketChannelImpl with direct ByteBuffer

On Tue, 2005-11-01 at 05:30 +0000, john dot zigman at anu dot edu dot au
wrote:
> The bug seems to be on line 261 of gnu.java.nio.SocketChannelImpl
> where the
> original line
> 
>           dst.put (data, offset, len);
> 
> should be
> 
>           dst.put (data, offset, readBytes);

Yes, good catch. Thanks. I'll commit a patch for 0.20.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24608





reply via email to

[Prev in Thread] Current Thread [Next in Thread]