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:56:46 UTC
[jira] [Resolved] (PDFBOX-2969) RandomAccessBuffer clone is broken
for non-default chunk size
[ 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org