FFI::IO#native_read can return bogus data with small reads
----------------------------------------------------------

                 Key: JRUBY-4311
                 URL: http://jira.codehaus.org/browse/JRUBY-4311
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.4
            Reporter: Wayne Meissner
            Assignee: Thomas E Enebo
             Fix For: JRuby 1.5



It is possible that FFI::IO.native_read can return bogus data for reads < 4096 
bytes in size.  This is due to a bug in 
ChannelStream#copyBufferedBytes(ByteBuffer).

Fixed in commit 1f4c8660ad135a4f1e145d2845f09ed44fb46cb6

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to