Bug 3957 - xtrans changes for AIX
Summary: xtrans changes for AIX
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/xtrans (show other bugs)
Version: 6.7.0
Hardware: Other AIX
: highest blocker
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 1690
  Show dependency treegraph
 
Reported: 2005-08-03 07:27 UTC by Dan McNichol
Modified: 2005-08-18 23:55 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
AIX changes for Xtranssock.c (1.48 KB, patch)
2005-08-18 21:06 UTC, Dan McNichol
no flags Details | Splinter Review
AIX changes to Xtranslcl.c (2.36 KB, patch)
2005-08-18 21:08 UTC, Dan McNichol
no flags Details | Splinter Review

Description Dan McNichol 2005-08-03 07:27:32 UTC
I found a couple of problems in xtrans on AIX.

-  On AIX 5.3, the size of sun_path has increased (to PATH_MAX).
   This can cause a couple of buffer overflows.

- Xtranslcl.c should try to open /dev/ptc on AIX.
Comment 1 Dan McNichol 2005-08-03 07:39:44 UTC
Created attachment 3220 [details] [review]
patch that corrects lsb-test-vsw4 failures
Comment 2 Dan McNichol 2005-08-03 07:40:30 UTC
Created attachment 3221 [details] [review]
minimalistic patch
Comment 3 Dan McNichol 2005-08-04 05:57:47 UTC
Comment on attachment 3221 [details] [review]
minimalistic patch

Bad patch.  Use updated one.
Comment 4 Dan McNichol 2005-08-04 06:00:33 UTC
Created attachment 3245 [details] [review]
mesa-6.3.2-freebsdinst.patch
Comment 5 Alan Coopersmith 2005-08-18 16:29:54 UTC
The attachment seems to have been lost in the recent fd.o disk failure - can you
reattach the patch please?
Comment 6 Dan McNichol 2005-08-18 21:06:39 UTC
Created attachment 2924 [details] [review]
AIX changes for Xtranssock.c

Resending patch after it was lost in a disk crash on the server.
Comment 7 Dan McNichol 2005-08-18 21:08:26 UTC
Created attachment 2925 [details] [review]
AIX changes to Xtranslcl.c

Resubmitting patch after it was lost during a disk crash on the server.
Comment 8 Alan Coopersmith 2005-08-19 16:55:33 UTC
Fixes committed to HEAD - should be included in 6.9 RC0.

CVSROOT:	/cvs/xorg
Module name:	xc
Changes by:	alanc@gabe.freedesktop.org	05/08/19 16:53:22

Log message:
  2005-08-19  Alan Coopersmith  <alan.coopersmith@sun.com>
  
  	* lib/xtrans/Xtranssock.c:
  	Bugzilla #3957 <https://bugs.freedesktop.org/show_bug.cgi?id=3957>
  	Patch #2924    <https://bugs.freedesktop.org/attachment.cgi?id=2924>
    	xtrans changes for AIX (Dan McNichol, IBM)
  
  	* lib/xtrans/Xtranslcl.c:
  	Bugzilla #3957 <https://bugs.freedesktop.org/show_bug.cgi?id=3957>
  	Patch #2925    <https://bugs.freedesktop.org/attachment.cgi?id=2925>
    	xtrans changes for AIX (Dan McNichol, IBM)

Modified files:
      ./:
        ChangeLog 
      xc/lib/xtrans/:
        Xtranssock.c Xtranslcl.c 
  
  Revision      Changes    Path
  1.1223        +12 -0     xc/ChangeLog
  1.8           +1 -4      xc/lib/xtrans/Xtranssock.c
  1.3           +9 -7      xc/lib/xtrans/Xtranslcl.c


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.