jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OAK-54) IOUtils.readVarInt and readVarLong can result in an endless loop on EOF
Date Tue, 10 Apr 2012 10:03:17 GMT

     [ https://issues.apache.org/jira/browse/OAK-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Mueller resolved OAK-54.
-------------------------------

    Resolution: Fixed
    
> IOUtils.readVarInt and readVarLong can result in an endless loop on EOF
> -----------------------------------------------------------------------
>
>                 Key: OAK-54
>                 URL: https://issues.apache.org/jira/browse/OAK-54
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: mk
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Minor
>
> The following lines result in an endless loop:
>   IOUtils.readVarInt(new ByteArrayInputStream(new byte[0]));
>   IOUtils.readVarLong(new ByteArrayInputStream(new byte[0]));
> Both should throw an EOFException in my view.

--
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

        

Mime
View raw message