Patch-ID# 100899-03
Keywords: security libX11 patch v3
Synopsis: OpenWindows 3.0: libX11 patch
Date: Aug/04/97

Solaris Release: 1.1.1, 1.1.2
 
SunOS release: 4.1.3_U1, 4.1.4
 
Unbundled Product: OpenWindows 
 
Unbundled Release: 3.0
 
Topic: libX11 patch release
 
BugId's fixed with this patch: 1096735 1103673 1073527 1127656 1266793

Changes incorporated in this version: 1266793

Architectures for which this patch is available: sun4, sun4c, sun4m

Patches which may conflict with this patch:

Obsoleted by:  

Files included with this patch:  

Checksum calculated using 4.1.3 /bin/sum

51200   266 sun4/libX11.a
35100     1 sun4/libX11.sa.4.3
42787   232 sun4/libX11.so.4.3
49634   298 sun4/libX11_p.a

Problem Description

1266793 libX11 security vulnerability

From rev 02
1096735 XKeysymToString fails for 8-bit chars
1103673 X11 programs linked with /usr/5lib/libc  will not work in binary compatibility
1073527 keypad keys generate incorrect keysym for mode-switch key (Alt Graph)
1127656	Patch 100899-01 causes problems for dbx

INSTALL:  
        !! Exit from openwindows !!
        su to the root account, and ensure that
        your OPENWINHOME environment variable is correctly set (usually
        to /usr/openwin).
	define PATCHDIR to point the patched directory.

        Then move the following original files using the following
        commands :-

        mv $OPENWINHOME/lib/libX11.a $OPENWINHOME/lib/libX11.a.fcs
        mv $OPENWINHOME/lib/libX11_p.a $OPENWINHOME/lib/libX11_p.a.fcs
        mv $OPENWINHOME/lib/libX11.sa.4.3 $OPENWINHOME/lib/libX11.sa.4.3.fcs
        mv $OPENWINHOME/lib/libX11.so.4.3 $OPENWINHOME/lib/libX11.so.4.3.fcs

        Install the new patch files into place using the following commands :-

        cp $PATCHDIR/sun4/libX11.a $OPENWINHOME/lib/libX11.a
        cp $PATCHDIR/sun4/libX11_p.a $OPENWINHOME/lib/libX11_p.a
        cp $PATCHDIR/sun4/libX11.sa.4.3 $OPENWINHOME/lib/libX11.sa.4.3
        cp $PATCHDIR/sun4/libX11.so.4.3 $OPENWINHOME/lib/libX11.so.4.3 

        Now set the time stamps in the library files just installed using the commands

        ranlib -t $OPENWINHOME/lib/libX11.a
        ranlib -t $OPENWINHOME/lib/libX11_p.a
        ranlib -t $OPENWINHOME/lib/libX11.sa.4.3

NOTE:

	This patched Xlib has a new resource that controls whether or
	not the modeswitch key applies to the keypad keys.
	The name of the resource is "OpenWindows.ApplyModeSwitchToAll"
	The default is "true".

	To use this Xlib with a Japanese keyboard or if you simply want to revert
	to the original behavior add the following line to your .Xdefaults file

	OpenWindows.ApplyModeSwitchToAll: False
