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

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

    [ https://issues.apache.org/jira/browse/PDFBOX-3363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15300479#comment-15300479 ] 

ASF subversion and git services commented on PDFBOX-3363:
---------------------------------------------------------

Commit 1745521 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1745521 ]

PDFBOX-3363: close temp file, as suggested by Damien Butaye

> 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