Bug 501710 - ghostscript-8.15.2-9.4.el5_3.7 pdf2ps segfaults
Summary: ghostscript-8.15.2-9.4.el5_3.7 pdf2ps segfaults
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: ghostscript
Version: 5.3
Hardware: All
OS: Linux
low
high
Target Milestone: rc
: ---
Assignee: Tim Waugh
QA Contact: QE Internationalization Bugs
URL:
Whiteboard:
Depends On: 503785
Blocks: 621118
TreeView+ depends on / blocked
 
Reported: 2009-05-20 13:00 UTC by Tuomo Soini
Modified: 2011-01-13 22:06 UTC (History)
2 users (show)

Fixed In Version: ghostscript-8.70-4.el5
Doc Type: Bug Fix
Doc Text:
Previously, including a large JBIG2 compressed image in the PDF input file may have caused the pdf2ps conversion utility to terminate unexpectedly with a segmentation fault. This was caused by the fact that the result of the "jbig2_image_new" function call was not always checked properly. This error has been fixed, and the inclusion of JBIG2 images no longer results in a segmentation fault.
Clone Of:
: 621118 (view as bug list)
Environment:
Last Closed: 2011-01-13 22:06:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0137 0 normal SHIPPED_LIVE ghostscript bug fix and enhancement update 2011-01-12 19:26:44 UTC

Description Tuomo Soini 2009-05-20 13:00:00 UTC
Description of problem:

When opening pdf file from exploit
Version-Release number of selected component (if applicable):

8.15.2-9.4.el5_3.7

How reproducible:

Always

Steps to Reproduce:
1. download sample pdf file from bug #488553
2. try to convert it to ps with pdf2ps
3. ps2pdf segfaults
  
Actual results:

$ pdf2ps 2009-41414141.pdf 
   **** Warning: Fonts with Subtype = /TrueType should be embedded.
                 But ArialMT is not embedded.
   **** Warning: Fonts with Subtype = /TrueType should be embedded.
                 But ArialMT is not embedded.
   **** Warning: Fonts with Subtype = /TrueType should be embedded.
                 But ArialMT is not embedded.
   **** Warning: Fonts with Subtype = /TrueType should be embedded.
                 But ArialMT is not embedded.
jbig2dec FATAL ERROR decoding image: could not allocate image data buffer! [-14580 bytes]
 
Segmentation fault

Expected results:

2009-41414141.ps

Comment 3 RHEL Program Management 2009-11-06 18:42:17 UTC
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".

Comment 5 Jaromir Hradilek 2010-07-20 09:53:38 UTC
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.

New Contents:
Previously, including a large JBIG2 compressed image in the PDF input file may have caused the pdf2ps conversion utility to terminate unexpectedly with a segmentation fault. This was caused by the fact that the result of the "jbig2_image_new" function call was not always checked properly. This error has been fixed, and the inclusion of JBIG2 images no longer results in a segmentation fault.

Comment 11 errata-xmlrpc 2011-01-13 22:06:16 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0137.html


Note You need to log in before you can comment on or make changes to this bug.