Bug 203136

Summary: SProcShmCreatePixmap() fails to byte-swap 'pid'
Product: Red Hat Enterprise Linux 4 Reporter: Bastien Nocera <bnocera>
Component: xorg-x11Assignee: Adam Jackson <ajax>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.0CC: tao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2007-0317 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-05-01 17:35:26 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:    
Bug Blocks: 234547    

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