Timo Boehme created PDFBOX-2969:
-----------------------------------
Summary: 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]