[
https://issues.apache.org/jira/browse/OAK-2099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Dürig resolved OAK-2099.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.0.6
1.1
Turns out the the toString method did not used the correct offset into the
buffer in case {{Buffer.position() > 0}}.
Fixed in trunk at http://svn.apache.org/r1625224 and in 1.0 at
http://svn.apache.org/r1625226.
> AIOOBE in Segment#toString
> --------------------------
>
> Key: OAK-2099
> URL: https://issues.apache.org/jira/browse/OAK-2099
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: segmentmk
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Fix For: 1.1, 1.0.6
>
>
> {{Segment#toString}} doesn't account for correcting the offset of a record in
> a segment in the case where the total segment size is less than the maximal
> segment size. This usually leads to an AIOOBE at the point where the root
> refs / blob refs are listed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)