Bug 203136 - SProcShmCreatePixmap() fails to byte-swap 'pid'
Summary: SProcShmCreatePixmap() fails to byte-swap 'pid'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: xorg-x11
Version: 4.0
Hardware: All
OS: Linux
high
high
Target Milestone: ---
: ---
Assignee: Adam Jackson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 234547
TreeView+ depends on / blocked
 
Reported: 2006-08-18 15:32 UTC by Bastien Nocera
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version: RHBA-2007-0317
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-05-01 17:35:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 4730 0 None None None Never
Red Hat Product Errata RHBA-2007:0317 0 normal SHIPPED_LIVE xorg-x11 bug fix update 2007-05-01 17:30:36 UTC

Description Bastien Nocera 2006-08-18 15:32:46 UTC
---8<---
SProcShmCreatePixmap() in file programs/Xserver/Xext/shm.c swaps all the multi-
byte members of the xShmCreatePixmapReq struct except for pid.  If the
application and the X server are running in different endianness, calls to
XShmCreatePixmap will fail.

This is difficult to reproduce unless you happen to have a locally running X
client in a different endianness mode to the server, but if you have and you
try to use XShmCreatePixmap the X server will return an error.
---8<---

This is the same as:
https://bugs.freedesktop.org/show_bug.cgi?id=4730

For which a patch has already been committed upstream
(https://bugs.freedesktop.org/show_bug.cgi?id=4730#c1)

Comment 1 RHEL Program Management 2006-08-18 19:41:39 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 2 Adam Jackson 2006-08-18 22:08:56 UTC
Devel ack, trivally correct and already upstreamed.

Comment 3 Jay Turner 2006-08-21 01:44:42 UTC
QE ack for 4.5.

Comment 4 Adam Jackson 2006-09-08 00:50:20 UTC
Reassign to me.

Comment 6 Søren Sandmann Pedersen 2007-01-08 22:06:44 UTC
Patch added to CVS. 

Comment 8 Janice Girouard - IBM on-site partner 2007-02-08 19:34:59 UTC
Modifying priority on RH side to match the IBM priority, which is set as High.

Comment 11 Red Hat Bugzilla 2007-05-01 17:35:26 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 the 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-2007-0317.html



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