Bug 501710

Summary: ghostscript-8.15.2-9.4.el5_3.7 pdf2ps segfaults
Product: Red Hat Enterprise Linux 5 Reporter: Tuomo Soini <tis>
Component: ghostscriptAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: QE Internationalization Bugs <qe-i18n-bugs>
Severity: high Docs Contact:
Priority: low    
Version: 5.3CC: ktakemur, pknirsch
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
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.
Story Points: ---
Clone Of:
: 621118 (view as bug list) Environment:
Last Closed: 2011-01-13 22:06:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 503785    
Bug Blocks: 621118    

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