You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2016/05/25 17:22:12 UTC

[jira] [Created] (PDFBOX-3363) Leftover file in temp directory when signing

Tilman Hausherr created PDFBOX-3363:
---------------------------------------

             Summary: Leftover file in temp directory when signing
                 Key: PDFBOX-3363
                 URL: https://issues.apache.org/jira/browse/PDFBOX-3363
             Project: PDFBox
          Issue Type: Bug
          Components: Signing
    Affects Versions: 2.0.1, 2.0.2, 2.1.0
            Reporter: Tilman Hausherr
            Assignee: Tilman Hausherr
             Fix For: 2.0.2, 2.1.0


As reported by Damien B. on the mailing list:
{quote}
   I'm trying to add a signature to a PDF using PDFBOX 2.0.1. During the
process, a tmp file (e.g: tmpPDFBoxXXX.pdf) is stored inside the /tmp
directory (RehHat server). This file is not deleted after completion.
After some checks, it seems that the object responsible of the file
creation is  "RandomAccessBufferedFileInputStream(InputStream is)". This
object is used by the PDFParser object which doesn't close the stream
after
completion.
{quote}



--
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