Hi all, I proposed a patch to fix issue PDFBOX-1625 [1].
As it works with cloning the RandomAccessBuffer used in copied COSStream and so could be costly, could someone have a look and give a feedback. The patch is very simple, but I am not sure I have in mind all the side effects. Thanks for your help. [1] https://issues.apache.org/jira/browse/PDFBOX-1625 Guillaume
