Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 928155

Summary: ras2tiff fails on 64-bit machines
Product: Red Hat Enterprise Linux 6 Reporter: Tim Wojtulewicz <timwoj>
Component: libtiffAssignee: Nikola Forró <nforro>
Status: CLOSED WONTFIX QA Contact: qe-baseos-daemons
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.4Keywords: Patch
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-06 11:37:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch for rasterfile.h that changes fields from long to int32_t
none
Backported upstream fix none

Description Tim Wojtulewicz 2013-03-27 03:52:55 UTC
Created attachment 716864 [details]
Patch for rasterfile.h that changes fields from long to int32_t

Description of problem:

ras2tiff is a program included with the libtiff package for converting between Sun Raster Format images and TIFF images.  On a 64-bit machine, the size of the rasterfile structure in tools/rasterfile.h changes size due to the use of long values for all of the fields.  These fields should be 32-bit integer values according to the Sun Raster spec.

Version-Release number of selected component (if applicable):

3.9.4-9 (but has been broken for a long time, back to RHEL 5 at least).

How reproducible:

Always.

Steps to Reproduce:
1. Create a simple Sun Raster Format image using Gimp or ImageMagick.
2. Run the command 'ras2tiff test.ras test.tif'
  
Actual results:

Error message that says "No space to read in colormap".  File is not converted.

Expected results:

New TIFF file containing the image should be created.

Additional info:

I've attached a simple patch to fix the problem.  It's not the most elegant solution probably, since it causes rasterfile.h to include stdint.h.

Comment 1 Tim Wojtulewicz 2013-03-27 04:03:04 UTC
I've also submitted this as a bug against libtiff to the maptools.org bugzilla, which controls the master version of tiff now.  This bug report is at http://bugzilla.maptools.org/show_bug.cgi?id=2430.

Comment 3 RHEL Program Management 2013-10-13 23:46:31 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 4 Nikola Forró 2016-08-16 16:21:18 UTC
Created attachment 1191318 [details]
Backported upstream fix

Comment 5 Jan Kurik 2017-12-06 11:37:09 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/