Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.8.0-incubator
-
None
Description
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.