Patch-ID# 108376-46

NOTE:
***********************************************************************
READ THE TERMS OF THE AGREEMENT ("AGREEMENT") IN THE LEGAL_LICENSE.TXT
FILE CAREFULLY BEFORE USING THIS SOFTWARE. BY USING THE SOFTWARE, YOU
AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE
TERMS, PROMPTLY DESTROY THE UNUSED SOFTWARE.
***********************************************************************

Keywords: security server openview socket ansi c++
Synopsis: OpenWindows 3.6.1: Xsun Patch
Date: Nov/28/2005


Install Requirements: See Special Install Instructions                      
                      
Solaris Release: 7

SunOS Release: 5.7

Unbundled Product: OpenWindows

Unbundled Release: 3.6.1

Xref: This patch available for x86 as 108377

Topic: 

Relevant Architectures: sparc

BugId's fixed with this patch: 4102279 4102547 4109097 4136721 4154511 4157641 4163790 4178200 4183231 4184889 4185418 4194112 4194588 4198669 4201153 4204224 4206665 4207211 4208458 4209569 4210522 4213395 4214254 4215548 4220615 4220673 4221500 4222190 4223242 4223880 4225253 4225372 4225409 4226459 4226605 4226641 4229039 4229532 4231879 4232363 4233140 4233145 4233280 4234976 4237267 4237375 4237407 4239004 4240182 4243588 4244399 4245099 4245335 4245948 4246367 4246833 4247287 4248067 4248632 4248958 4250447 4254255 4255571 4257455 4258344 4259460 4261678 4261919 4262197 4262392 4262560 4263599 4263893 4263894 4263895 4264088 4264756 4266316 4267964 4270754 4274454 4274981 4280807 4280859 4281374 4283356 4283416 4284701 4286796 4286809 4287741 4291942 4292075 4296832 4297581 4297830 4299495 4302373 4305157 4305597 4306774 4308640 4308661 4308670 4310120 4310536 4310813 4311088 4311804 4312780 4312893 4314304 4314423 4317727 4318777 4323164 4327867 4330738 4332966 4332979 4333070 4338851 4345609 4346749 4355797 4356114 4356265 4356377 4357467 4368629 4379301 4383751 4395701 4395929 4396244 4408780 4420281 4421358 4423292 4423990 4434893 4441374 4477807 4477841 4483090 4499671 4524611 4546095 4625611 4627956 4642632 4644966 4661987 4680913 4703884 4707141 4710402 4726752 4763495 4846090 4989547 4995611 5022982 5023755 6265045

Changes incorporated in this version: 4846090 6265045 5023755 4763495 5022982

Patches accumulated and obsoleted by this patch: 107078-18 107648-09 108592-01

Patches which conflict with this patch: 

Patches required with this patch: 

Obsoleted by: 

Files included with this patch: 

/usr/openwin/bin/Xprt
/usr/openwin/bin/Xsun
/usr/openwin/bin/fbconsole
/usr/openwin/bin/xauth
/usr/openwin/bin/xdm
/usr/openwin/bin/xdpyinfo
/usr/openwin/bin/xlock
/usr/openwin/bin/xset
/usr/openwin/lib/X11/PostScript.VM
/usr/openwin/lib/libFS.so.5
/usr/openwin/lib/libICE.so.6
/usr/openwin/lib/libX11.a
/usr/openwin/lib/libX11.so.4
/usr/openwin/lib/libXau.so.6
/usr/openwin/lib/libXdmcp.a
/usr/openwin/lib/libXdmcp.so.6
/usr/openwin/lib/libXext.a
/usr/openwin/lib/libXext.so.0
/usr/openwin/lib/libXmu.so.4
/usr/openwin/lib/libXtst.a
/usr/openwin/lib/libXtst.so.1
/usr/openwin/lib/libdga.so.1
/usr/openwin/lib/libdps.so.5
/usr/openwin/lib/libp/libX11.a
/usr/openwin/lib/libp/libXext.a
/usr/openwin/lib/libp/libXtst.a
/usr/openwin/lib/libpsres.a
/usr/openwin/lib/libz.so.1
/usr/openwin/lib/sparcv9/libICE.so.6
/usr/openwin/lib/sparcv9/libX11.so.4
/usr/openwin/lib/sparcv9/libXext.so.0
/usr/openwin/lib/sparcv9/libXtst.so.1
/usr/openwin/lib/sparcv9/libdga.so.1
/usr/openwin/lib/sparcv9/libdps.so.5
/usr/openwin/server/etc/SecurityPolicy
/usr/openwin/server/lib/libcfb.so.1
/usr/openwin/server/lib/libcfb16.so.1
/usr/openwin/server/lib/libcfb32.so.1
/usr/openwin/server/lib/libcfb4.so.1
/usr/openwin/server/lib/libfont.so.1
/usr/openwin/server/lib/libmhc.so.1
/usr/openwin/server/lib/libmi.so.1
/usr/openwin/server/lib/libovl.so.1
/usr/openwin/server/lib/libserverdps.so.5
/usr/openwin/server/modules/ddxSUNWcg6.so.1
/usr/openwin/server/modules/ddxSUNWkbd.so.1
/usr/openwin/share/etc/keytables/Arabic5.kt.Z
/usr/openwin/share/etc/keytables/Arabic6.kt.Z
/usr/openwin/share/etc/keytables/Belgian6.kt.Z
/usr/openwin/share/etc/keytables/Denmark6.kt.Z
/usr/openwin/share/etc/keytables/Finnish6.kt.Z
/usr/openwin/share/etc/keytables/France6.kt.Z
/usr/openwin/share/etc/keytables/Germany6.kt.Z
/usr/openwin/share/etc/keytables/Italy6.kt.Z
/usr/openwin/share/etc/keytables/Japan6.kt.Z
/usr/openwin/share/etc/keytables/Korea6.kt.Z
/usr/openwin/share/etc/keytables/Netherland6.kt.Z
/usr/openwin/share/etc/keytables/Norway6.kt.Z
/usr/openwin/share/etc/keytables/Portugal6.kt.Z
/usr/openwin/share/etc/keytables/Spain6.kt.Z
/usr/openwin/share/etc/keytables/Sweden6.kt.Z
/usr/openwin/share/etc/keytables/Switzer_Fr6.kt.Z
/usr/openwin/share/etc/keytables/Switzer_Ge6.kt.Z
/usr/openwin/share/etc/keytables/Taiwan6.kt.Z
/usr/openwin/share/etc/keytables/TurkeyF5.kt.Z
/usr/openwin/share/etc/keytables/TurkeyF6.kt.Z
/usr/openwin/share/etc/keytables/TurkeyQ5.kt.Z
/usr/openwin/share/etc/keytables/TurkeyQ6.kt.Z
/usr/openwin/share/etc/keytables/UK6.kt.Z
/usr/openwin/share/etc/keytables/US6.kt.Z
/usr/openwin/share/etc/keytables/keytable.map
/usr/openwin/share/include/X11/ICE/ICElib.h
/usr/openwin/share/include/X11/XKBlib.h
/usr/openwin/share/include/X11/Xlib.h
/usr/openwin/share/include/X11/Xlibint.h
/usr/openwin/share/include/X11/Xos.h  
/usr/openwin/share/include/X11/Xosdefs.h
/usr/openwin/share/include/X11/Xresource.h
/usr/openwin/share/include/X11/Xutil.h
/usr/openwin/share/include/X11/extensions/XKBgeom.h
/usr/openwin/share/include/X11/extensions/XTest.h
/usr/openwin/share/include/X11/extensions/Xcup.h
/usr/openwin/share/include/X11/extensions/Xcupstr.h
/usr/openwin/share/include/X11/extensions/dpms.h
/usr/openwin/share/include/X11/extensions/dpmsstr.h
/usr/openwin/share/include/X11/extensions/lbxbuf.h
/usr/openwin/share/include/X11/extensions/lbxbufstr.h
/usr/openwin/share/include/X11/extensions/lbxdeltastr.h
/usr/openwin/share/include/X11/extensions/lbximage.h
/usr/openwin/share/include/X11/extensions/lbxopts.h
/usr/openwin/share/include/X11/extensions/lbxstr.h
/usr/openwin/share/include/X11/extensions/lbxzlib.h
/usr/openwin/share/include/X11/extensions/record.h
/usr/openwin/share/include/X11/extensions/recordstr.h
/usr/openwin/share/include/X11/extensions/security.h
/usr/openwin/share/include/X11/extensions/securstr.h
/usr/openwin/share/include/X11/extensions/transovlstr.h
/usr/openwin/share/man/man1/Xprt.1
/usr/openwin/share/man/man1/Xserver.1
/usr/openwin/share/man/man1/xauth.1
/usr/openwin/share/man/man1/xset.1
/usr/openwin/share/man/man3/DPMSCapable.3
/usr/openwin/share/man/man3/DPMSDisable.3
/usr/openwin/share/man/man3/DPMSEnable.3
/usr/openwin/share/man/man3/DPMSForceLevel.3
/usr/openwin/share/man/man3/DPMSGetTimeouts.3
/usr/openwin/share/man/man3/DPMSGetVersion.3
/usr/openwin/share/man/man3/DPMSInfo.3
/usr/openwin/share/man/man3/DPMSQueryExtension.3
/usr/openwin/share/man/man3/DPMSSetTimeouts.3
/usr/openwin/share/man/man3/XcupGetReservedColormapEntries.3
/usr/openwin/share/man/man3/XcupQueryVersion.3
/usr/openwin/share/man/man3/XcupStoreColors.3
/usr/openwin/share/man/man3/Xevi.3

Problem Description:

4846090 provide shared versions of libXdmcp & libXau
6265045 buffer overflow in Xsun
5023755 xdm crash on bogus XDMCP request
4763495 [X.org defect #7329] XdmcpReadARRAY and XdmcpDisposeARRAY may free twice
5022982 XdmcpDisposeARRAYofARRAY8 crashes if array was not properly initialized
 
(from 108376-45)
4327867 Xsun does not always terminate on a SIGTERM
4989547 ReadFontAlias buffer overflow
4995611 Additional font information file handling overflows
 
(from 108376-44)
4680913 DGA: Insecure creation of /tmp/wg0000*
 
(from 108376-43)
4248632 xlock should accept Kerberos passwords
 
(from 108376-42)
4726752 Xsun crash when attempt to view certain PS file on ja locale.
 
(from 108376-41)
4710402 Memory leak in multibuffering extension
4703884 xlock: password buffers are too small
 
(from 108376-40)
4707141 OpenGL Pixmap Problem on various Sun graphics cards
 
(from 108376-39)
4642632 Xserver: rollover condition in XdmcpWakeupHandler()
 
(from 108376-38)
4661987 CAN-2002-0158: Xsun "-co" heap overflow
 
(from 108376-37)
4627956 Xsun going to an endless loop with Pro/E 2001 under Solaris 8
4644966 Security issue with zlib in SUNWxwplt
 
(from 108376-36)
4625611 fix to Xos.h for 4421358 breaks 64-bit compiles (refix)
 
(from 108376-35)
4625611 fix to Xos.h for 4421358 breaks 64-bit compiles
4524611 Purify errors in X libraries
 
(from 108376-34)
4441374 PGX32 does not launch Openwindows 3.6.2 in TRUECOLOR after Sol8 10/00
4546095 libX11 should not honor some environment variables in set*id programs
4305157 GTK(GDK) dumps core at XRegisterIMInstantiateCallback()
 
(from 108376-33)
4499671 Bus Error in _XData32 when running a 64-bit application (back out the fix)
 
(from 108376-32)
4499671 Bus Error in _XData32 when running a 64-bit application
 
(from 108376-31)
4477807 64-bit dps client library non-functional
 
(from 108376-30)
4477841 app causes blacked out areas when exiting after patch 108376-25 on TGX
4483090 xlock buffer overflow
 
(from 108376-29)
4194112 Change in Functionality of /etc/X*.hosts on Solaris 2.6 from Solaris 2.5.1
 
(from 108376-28)
4396244 New xserver bug causes problems in Font2DTest (jdk demo) (new fix)
4102547 XOpenDisplay() hangs with shmem transport when XInitThreads() called.
4434893 Xsun crash SEGV at the end of ICEMSurf session
 
(from 108376-27)
4395929 Support is required for newly developed keyboard
 
(from 108376-26)
4408780 DGA application crashes when run through ssh connection
	(replaced 32-bit libdga.so.1 in SUNWxwplx with 64-bit library)
 
(from 108376-25)
4408780 DGA application crashes when run through ssh connection
4420281 vsw502 XFillArcs plane-mask operations produce wrong values many regression
4423292 App causes Xserver crash on TGX+ but not TGX
 
(from 108376-24)
4356377 keyboard ddx does not check bounds correctly
4421358 Xos.h causing compiles to fail when used with strings.h in S9 w/ Forte
4423990 X header files should not require -DSVR4
 
(from 108592-01)
4283416 Xos.h header file incorrectly defined for 64-bit Xlib applications
 
(from 108376-23)
4396244 New xserver bug causes problems in Font2DTest (jdk demo)
 
(from 108376-22)
4201153 Can't get/set Caps Lock LED state via XGetKeyboardControl() and XChangKeyboard
 
(from 108376-21)
4296832 X header files have no-type declaration forbidden in ANSI C++
4395701 Error messages saying "unable to stat" appear on patch log
 
(from 108376-20)
4383751 Xsun dumps core with HP OpenView Node Manager 6.1
4379301 Buffer overflow in X socket transport code
 
(from 108376-19)
4345609 Font server connection hangs
 
(from 108376-18)
4356114 Screen layout has non-readable centered dialog on multi-headed system
 
(from 108376-17)
4355797 Xprt always uses 100 dpi as its default resolution
4356265 PS driver of Xprt doesn't support transparent bitmap font printing
 
(from 108376-16)
4368629 libICE.so.6 dumps core in IceListenForConnections on Solaris 7 with pa
 
(from 108376-15)
4338851 I-DEAS8 hangs when atok8 is enab
 
(from 108376-14)
4323164 fbconsole should open /dev/console with O_NOCTTY
 
(from 108376-13)
4357467 making application span both heads in Xinerama causes color corruption
4314423 XINERAMA: StarOffice shows wrong or corrupted icons on second screen
 
(from 108376-12)
4346749 Xsun crashes after reducing cameleo's display window and using a
XRead
 
(from 108376-11)
4185418 the X server should support more connections (additional rework). 
 
(from 108376-10)
4332979 Xview app fails to load user-supplied font
 
(from 108376-09)
4287741 Xprt can't start on zh locale
4291942 Xprt doesn't recognize -XpFile command line option
4297581 Xprt crash caused by memory leak
4297830 Xprt prints large scalable font at wrong position
4299495 XpQueryScreesns() returns wrong screens which cause application crash
4306774 general page comments for PS descriptions missing.
4308640 Xprt core dump when PCL mode is enabled
4308661 Overlapping occurs on PCL mode Xprt
4308670 duplex and landscape printing do not work with Xprt PostScript output
4311088 Xprint does not handle .pmf files defined in the printer fonts directory
4312780 wrong font after first page when using PostScript printer fonts
4312893 Xprt:PS driver can't handle pmf font properly
4318777 Xprt output has position problem in PS mode
4333070 X setuid/setgid binary permissions need to be changed
4185418 the X server should support more connections (reworked).
 
(from 108376-08)
4185418 the X server should support more connections
4332966 security: Xsun has a buffer overflow
4330738 accessX - StickyKeys and MouseKeys does not work in X11R6.4
 
(from 108376-07)
4310536 scaling the fonts larger results in invisible glyphs
4310120 lib/X11/Xlibint.h ptr to int is passed to _XData32(), which expects
	ptr to long
 
(from 108376-06)
4317727 Performance regression from Solaris 7 to Solaris 8 in Unigraphics
4314304 OpenGL regression with Catia due to Xsun patch
 
(from 108376-05)
4305597 frame buffer with 24 bits depth do not support shared memory pixmaps
4274981 XSolarisOvlSelectPartner() hangs in 64-bit mode
4310813 Xserver exits unexpectedly, when working with HyperHelp 5.1.2 from Hyp
 
(from 108376-04)
4302373 -ar1 and -ar2 not working
4233280 Multi-threaded X application hangs in _XFlushInt on Solaris 2.6 s
4270754 OGL program and other Xlib programs hangs Xserver
4311804 Xserver loops in FindCachedFontPattern or crashes
 
(from 108376-03)
4207211 Selection of UG menubar item causes X-Server to crash on the ZX
4292075 2.6 Xsun crash caused by memory leak after install patch 105633-14
 
(from 108376-02)
4286809 Fixes for 4168571 & 4192179 need forward port to X11R6.4
4283356 dtlogin w/ # 107180-12 does not restore dtgreet after having restored
4215548 Xserver crashes on Solaris 7
4243588 DGA is not xinerama aware
4281374 Xinerama should support overlapping of screens
4284701 Header files are missing for the new dga ext XDgaGetXineramaInfo()
4286796 DgaXinmeramaGetInfo returns incorrect answer.
 
(from 108376-01)
   	Merged patches 107648-09 & 107078-18
4154511	XDrawArc does not draw rounded endpoints correctly w/cap_style=CapRound
4280807 XKB API man pages should all be in XKB patch
4280859 lint libraries should be in a separate patch
 
Incorporated from previous patch revisions:
 
(from 107648-09)
4274454 Private API for the xinerama extension should not be shipped.
 
(from 107648-08)
4262560 X server dumps core when exiting StarOffice 5.1 apps
 
(from 107648-07)
4257455 X server can not be started on display :0
4267964 X server patch should include libfont.so.1
4263893 Man pages needed for new DPMS APIs  
4263894 Man pages needed for new Xinerama APIs 
4263895 Man pages needed for new CUP APIs  
4264756 Non standard public header files are not installed properly
4264088 window outlines for moving/resizing with fvwm drawn incorrectly
4262197 xdm remote login can fail when a machine has an interface with a
4266316 incorrect paths for new DPMS, xinerama APIs in prototype
 
(from 107648-06)
4263599 XpConfig entries are commented out in prototype
4259460 Xserver crashes when colormaps created/deleted.
4261919	New headers not included in feature patches
4262392 64bit public libraries should be included in the feature patches
4215548	Xserver crashes on Solaris 7
4233140	Xserver crash using Multibuffer extension
4245948	AllPlanes extension needs to be enhanced to work with Xinerama 
4246367	SecurityLookupWindow functions missing in panoramiX.c       
4247287	back to login prompt when trying to move a window
4248067	left, top, bottom logical screen layout don't work as expected
  		 in xinerama mode
4239004 Selective keys on the numeric keyboard are not implemented
4240182	sdtimage: Image Viewer cannot open ps files on sparc machine.
4250447	vsw and vsm 64 bit tests get SIGBUS after calling XOpenDisplay
4254255	XtAppInitialize fails with Bad Window request using 64 bit libX11
4255571	XDestroyIC() in C locale causes freed memory access
4244399	dpms description is missing in xset man page
 
(from 107648-05)
4261678 prototype_com has incorrect permission set for lib and openwin
4258344 Man pages title and header changes
 
(from 107648-04)
4237407 Artifacts in Acrobat documents with Xinerama on dual-FFB system 
 
(from 107648-03)
4245335 SecurityPolicy file should include more properties to make 
	CDE tools work with xrx
4226605 xset fp+ tcp/host:7100 hangs X server
4237267 X-rx doesn't work
 
(from 107648-02)
4221500 XINERAMA crashes on login on S28_18
4222190 Server crashes doing CreateColormap when Xinerama is operating
4223242 Rubberbands don't appear with Xinerama
4225253 XGL hangs while calling XAllocColorCells in X11R6.4
4226641 Permissions on Xsun and other X clients wrong after s998u3_02 patches
4225372 xserver crashes when started thru dtlogin or olwm with +kb option
4198669 Java graphics can cause Solaris 7 dtsession termination
4220615 Xsun crashes in cmapMhcWindowAttachWid
4229532 XIL Xshm programs crash Xserver
4220673 Xsun dies running Java Swing apps (S8_18)
4237375 Xprt prints message "couldn't set locale correctly"
4229039 X server dies after quitting hotjava
4233145 "Compass" application on :0.1 kills Xsun
4226459 Protocol errors running Xinerama on dual AFB's
4225409 x11r6.4 feature upgrade
 
(from 107078-18)
4262197 xdm remote login can fail when a machine has an interface with a
 
(from 107078-17)
4223880 Xsun in S7 dumps core on certain URLs
 
(from 107078-16)
4232363 X clients never die after Xserver crash
 
(from 107078-15)
4231879 ON X86: X server crashes w/Thai font; (en_US.UTF-8 exits dtlogin
        also plays a role in bugs of the nature described in 4109097
 
(from 107078-14)
4245099 XGL Application fails when FFB default visual sets overlay
4109097 scratch of the fonts on the screen with Thai trueType font on X86
4231879 ON X86: X server crashes w/Thai font; (en_US.UTF-8 exits dtlogin
 
(from 107078-13)
4248958 OPENGL program shows mem leak in libdga
 
(from 107078-12)
4246833 Korean USB keytable maps "\" key incorrectly
 
(from 107078-11)
4234976 XOpenDisplay fails when passed a hostname:display.screen argument
4214254 "\" key on zh_TW and ko USB keyboard displays a wrong character
4210522 Korea6.kt has wrong entries for XK_Hangul_Hanja
4213395 Kana key on Japanese USB keyboard doesn't work as a toggler
4157641 Multi-threaded App dying in libX11 when statically linked
 
(from 107078-10)
4206665 excessive delay in expose of windows/font refresh in Euro locales
 
(from 107078-09)
4102279 Xsun crashes after fix of bug 4058716 has been integrated
4136721 x86 cc compiler with -O flag breaks libfont.so.1
 
(from 107078-08)
4209569 Xsun crashes when viewing postscript document
 
(from 107078-07)
4198669 Java graphics can cause Solaris 7 dtsession termination
 
(from 107078-06)
4102279 applications displayed on to Sun system displays (reworked)
 
(from 107078-05)
4102279 applications displayed on to Sun system displays
	from HP cause a Xserver crash or hang in sun.
 
(from 107078-04)
4208458 Visibility change update fix
4204224 International P2 USB keyboards come up with US layouts
 
 
(from 107078-02)
4163790 Place holder for KB_USB fixes
4184889 OWconfig keyword "ListOfInput" exits server erroneously
4178200 Missing visibility change events
4194588 Need standard USB keytable support
 
(from 107078-01)
4183231 XFontStruct max_bounds/min_bounds lbearing incorrect for Korean 
	Type1/CID fonts

Patch Installation Instructions:
-------------------------------- 
For Solaris 2.0-2.6 releases, refer to the Install.info file and/or
the README within the patch for instructions on using the generic
'installpatch' and 'backoutpatch' scripts provided with each patch.
 
For Solaris 7 release, refer to the man pages for instructions on
using 'patchadd' and 'patchrm' scripts provided with Solaris.
Any other special or non-generic installation instructions should be
described below as special instructions.  The following example
installs a patch to a standalone machine:
 
	example# patchadd /var/spool/patch/104945-03
 
The following example removes a patch from a standalone system:
 
	example# patchrm 104945-03
 
For additional examples please see the appropriate man pages.

Special Install Instructions:
----------------------------- 
 
This patch upgrades the X server and the core libraries & clients to X11R6.4.
To get the full X11R6.4 upgrade, you must either upgrade to Solaris 7 11/99
or install the following patches in addition to this patch:
	107650:	OpenWindows 3.6.1: Xprint extension patch
	107652:	OpenWindows 3.6.1: XKB extension patch
	107654:	OpenWindows 3.6.1: Xrx & LBX extensions patch
	107656:	OpenWindows 3.6.1: libXt patch
	107658:	OpenWindows 3.6.1: X11R6.4 API man pages patch
	108378:	OpenWindows 3.6.1: X11R6.4 lint libraries patch
 
Special note1:
------------
A new option "-clients [128|1024]" is added to Xsun for 
setting maximum client connections. If Xsun starts without 
this option, the default maximum client connections are 
1024.
 
 
Special note2:
-------------
To get the complete fix for the bug 4379301, both 108376-20 (or newer) &
107654-08 (or newer) need to be installed.

README -- Last modified date:  Monday, November 28, 2005

