[
https://issues.apache.org/jira/browse/PDFBOX-2969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timo Boehme resolved PDFBOX-2969.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
fixed with revision 1702928
> 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
> Fix For: 2.0.0
>
>
> 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]