This service will be undergoing maintenance at 20:00 UTC, 2017-04-03. It is expected to last about 30 minutes
Bug 143689 - Xpmcreate.c compiles without LONG64 defined on x86_64 platform
Xpmcreate.c compiles without LONG64 defined on x86_64 platform
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: openmotif (Show other bugs)
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Thomas Woerner
: EasyFix, Patch
Depends On:
  Show dependency treegraph
Reported: 2004-12-24 00:12 EST by Wade Mealing
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-08-26 11:48:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Wade Mealing 2004-12-24 00:12:27 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041020

Description of problem:
The LONG64 macro from XFree86 seems to be defined properly in most of
the package, due to a header file not being included, it is not
defined when Xpmcreate.c is compiled.  

Because of the undefined size, the heap is corrupted when creating a

Both XFree and Debian have this in their bugzilla. 

Seems like a problem with the header file not being included

Patch is available:

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

How reproducible:

Steps to Reproduce:
1. Install RHEL on AMD64
2. use application that uses motif to draw a xpm pixmap
3. Notice image corruption, possible crash.

Actual Results:  Image is corrupted or in some cases, application crash.

Expected Results:  Image to display correctly on 32 and 64 bit

Additional info:

Workaround is present (So i'm told), it is also fixed in upstream cvs.
Comment 1 Thomas Woerner 2005-08-26 11:48:18 EDT
This has been fixed in RHSA-2005:412.

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