tsboh / origami-pdf

Automatically exported from code.google.com/p/origami-pdf
GNU Lesser General Public License v3.0
0 stars 0 forks source link

PDF.read hang when parsing corrupt PDF #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Launch pdfsh
2. pdf = PDF.read 'corrupt.pdf'
3. The step 2 never stop until pressing Ctrl-C

What is the expected output? What do you see instead?
The PDF.read shall stop with proper exception

What version of the product are you using? On what operating system?
origami-pdf version: 50948d73380e
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
ubuntu 11.10 x86_64

Please provide any additional information below.

Original issue reported on code.google.com by czchen on 21 Dec 2011 at 6:44

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed. Thank you for reporting this.

Original comment by guilla...@security-labs.org on 6 Apr 2012 at 3:56