Possible bug in SProcShmCreatePixmap

Alan Coopersmith Alan.Coopersmith at Sun.COM
Fri Oct 7 13:44:33 PDT 2005


Does it matter?   Can you ShmCreatePixmap on a remote machine?   You should
never be byte-swapping when talking to the local machine.

	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering

Neil Campbell wrote:
> Hi all,
> 
> [Resending as the first one didn't appear to get through - apologies if you 
> get this twice].
> 
> Sorry if this isn't the right forum for reporting this sort of thing.  I'd 
> thought I'd sound out the mailing list before I raised a bug report.
> 
> It looks to me as though there might be a byte swapping bug in 
> SProcShmCreatePixmap(), in programs/Xserver/Xext/shm.c.  Here we swap various 
> parts of the xShmCreatePixmapReq struct, but we don't swap the pid member.  
> Is there any reason why this shouldn't be swapped, or is this a bug?
> 
> Cheers,
> Neil
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg




More information about the xorg mailing list