[ 
https://issues.apache.org/jira/browse/PDFBOX-1634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner updated PDFBOX-1634:
----------------------------------

    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

/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

  was:Adobe reader 9 and 10 crash because length inside source pdf was wrong

    
> [PATCH] Adobe reader crash due to wrong length
> ----------------------------------------------
>
>                 Key: PDFBOX-1634
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1634
>             Project: PDFBox
>          Issue Type: Bug
>            Reporter: simon steiner
>         Attachments: pdfcrash2.patch
>
>
> 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
> /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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to