Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
Adobe reader 9 and 10 crash because length inside source pdf was wrong
Source pdf has length of 174, should be 172, this causes pdfbox to add "q" to end of stream and crash reader
Im running using fop test.fo out.pdf
/Type /XObject
/Resources 5125 0 R
/Subtype /Form
/BBox [0 0 413.3900146484 17.4599990845]
/Matrix [1 0 0 1 0 0]
/Length 5126 0 R
/FormType 1
>>
stream
q Q /Tx BMC q 0 0 413.39 15.46 re W n q BT 1 0 0 1 2 5.46 Tm /CourierNewPSMT 10 Tf 0 g ($17,500 TSP Pre-Tax Contributions or Roth (After Tax) Contributio)Tj 0 g ET Q EMC
endstream
5126 0 obj
174
endobj
Attachments
Attachments
Issue Links
- is duplicated by
-
PDFBOX-2016 Stream parsing still incorrect if length value is wrong
- Closed