You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Thiruvalluvan M. G. (Commented) (JIRA)" <ji...@apache.org> on 2011/10/10 14:21:29 UTC

[jira] [Commented] (AVRO-916) 0xff in binary stream is interpreted as end-of-stream

    [ https://issues.apache.org/jira/browse/AVRO-916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13124029#comment-13124029 ] 

Thiruvalluvan M. G. commented on AVRO-916:
------------------------------------------

If there are no objections, I'll commit this tomorrow.
                
> 0xff in binary stream is interpreted as end-of-stream
> -----------------------------------------------------
>
>                 Key: AVRO-916
>                 URL: https://issues.apache.org/jira/browse/AVRO-916
>             Project: Avro
>          Issue Type: Bug
>          Components: c++
>            Reporter: Thiruvalluvan M. G.
>            Assignee: Thiruvalluvan M. G.
>             Fix For: 1.6.0
>
>         Attachments: AVRO-916.patch
>
>
> When read byte by byte, {{BufferStreambuf.hh}} return int -1 when it encounters 0xff in the stream. This is being interpreted as end-of-stream elsewhere causing problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira