pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Dyuzhev (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PDFBOX-496) PDDocument.load hangs when loading zero-length file
Date Tue, 28 Jul 2009 14:28:14 GMT

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

Vladimir Dyuzhev commented on PDFBOX-496:
-----------------------------------------

And, I have to add, it consumes 100% CPU!

> PDDocument.load hangs when loading zero-length file
> ---------------------------------------------------
>
>                 Key: PDFBOX-496
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-496
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDFReader
>    Affects Versions: 0.8.0-incubator
>            Reporter: Vladimir Dyuzhev
>
> If a file passed to PDDocument.load() has zero-length (e.g. got truncated during transmission
over the net), the method hangs forever.
> Expected behaviour: throw an exception indicating it's not a PDF file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message