[
https://issues.apache.org/jira/browse/PDFBOX-2969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14743453#comment-14743453
]
ASF subversion and git services commented on PDFBOX-2969:
---------------------------------------------------------
Commit 1702928 from [~tboehme] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1702928 ]
PDFBOX-2969: fix clone operation for buffers with non-default chunk size
> RandomAccessBuffer clone is broken for non-default chunk size
> -------------------------------------------------------------
>
> Key: PDFBOX-2969
> URL: https://issues.apache.org/jira/browse/PDFBOX-2969
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 2.0.0
> Reporter: Timo Boehme
> Assignee: Timo Boehme
>
> When RandomAccessBuffer is initialized with an array it uses the array length
> as chunkSize. This is not respected by RandomAccessBuffer.clone which sets
> default length chunkSize but generates cloned buffers in the source chunkSize
> length. Thus a corrupt clone is created.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]