Red Hat Bugzilla – Bug 143689
Xpmcreate.c compiles without LONG64 defined on x86_64 platform
Last modified: 2007-11-30 17:07:05 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):
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
Workaround is present (So i'm told), it is also fixed in upstream cvs.
This has been fixed in RHSA-2005:412.