kialog02 / pdfium

Automatically exported from code.google.com/p/pdfium
0 stars 0 forks source link

Stack exhaustion crash #121

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
$ cat >foo.pdf <<_EOF_
%PDF
1 0 obj<</Pages 2 0 R>>2 0 obj<</Rotate
3 0 R>>3 0 obj 3 0 R trailer<</Root 1 0 R>>
_EOF_

$ ./pdfium_test foo.pdf
Rendering PDF file x.
Linearized path...
Segmentation fault

Looks like stack exhaustion in CPDF_Object::GetInteger. Also affects Chrome.

Original issue reported on code.google.com by lcam...@google.com on 12 Feb 2015 at 6:19