[jira] [Updated] (PDFBOX-1634) [PATCH] Adobe reader crash due to wrong length

2014-02-08 Thread John Hewson (JIRA)

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

John Hewson updated PDFBOX-1634:


Component/s: Writing

> [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
>  Components: Writing
>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
> Im running using fop test.fo out.pdf
> /Type /XObject
> /Resources 5125 0 R
> /Subtype /Form
> /BBox [0 0 413.3900146484 17.450845]
> /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 was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (PDFBOX-1634) [PATCH] Adobe reader crash due to wrong length

2013-06-10 Thread simon steiner (JIRA)

 [ 
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.450845]
/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.450845]
> /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


[jira] [Updated] (PDFBOX-1634) [PATCH] Adobe reader crash due to wrong length

2013-06-10 Thread simon steiner (JIRA)

 [ 
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

Im running using fop test.fo out.pdf

/Type /XObject
/Resources 5125 0 R
/Subtype /Form
/BBox [0 0 413.3900146484 17.450845]
/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

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.450845]
/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


> [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
> Im running using fop test.fo out.pdf
> /Type /XObject
> /Resources 5125 0 R
> /Subtype /Form
> /BBox [0 0 413.3900146484 17.450845]
> /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


[jira] [Updated] (PDFBOX-1634) [PATCH] Adobe reader crash due to wrong length

2013-06-10 Thread simon steiner (JIRA)

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

simon steiner updated PDFBOX-1634:
--

Attachment: pdfcrash2.patch

> [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

--
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