You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Timo Boehme (JIRA)" <ji...@apache.org> on 2015/09/14 14:37:45 UTC
[jira] [Created] (PDFBOX-2969) RandomAccessBuffer clone is broken
for non-default chunk size
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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org