Patch-ID# 107082-57
Keywords: security drag drop crashes widjet child drop patch dependency
Synopsis: Motif 1.2.7_x86 and 2.1.1_x86: Runtime library patch for Solaris 7
Date: May/05/2005


Install Requirements: NA                      
                      
Solaris Release: 7_x86

SunOS Release: 5.7_x86

Unbundled Product: Motif

Unbundled Release: 1.2.7_x86 2.1.1_x86
NOTE: This patch also apply to Motif 2.1.1_x86

Xref: This patch available for SPARC as 107081

Topic: 

Relevant Architectures: i386

BugId's fixed with this patch: 4064803 4128879 4149711 4159034 4162369 4165677 4170491 4171291 4171723 4174322 4183749 4186734 4186826 4191346 4191550 4191799 4197157 4197924 4197929 4201602 4207929 4209526 4211104 4219810 4224885 4226996 4231112 4236647 4240553 4245487 4247649 4251451 4254142 4256482 4258474 4260817 4261580 4294643 4299139 4299216 4312519 4317815 4318757 4320106 4322319 4322466 4322728 4327272 4327592 4334155 4336559 4340913 4342603 4343099 4367450 4383575 4386891 4392423 4400646 4404627 4406624 4411356 4412362 4414939 4424753 4441305 4449359 4451291 4454476 4459936 4472710 4479585 4480444 4496686 4497373 4506157 4506742 4512887 4521757 4522359 4530263 4633480 4663311 4664492 4679034 4699202 4717502 4748494 4816308 4819221 4852622 5058156 5086486 5086488

Changes incorporated in this version: 5086486 5086488

Patches accumulated and obsoleted by this patch: 107608-01 107803-01

Patches which conflict with this patch: 

Patches required with this patch: 107657-07 (or greater)

Obsoleted by: 

Files included with this patch: 

	/usr/dt/lib/libXm.so.3
	/usr/dt/lib/libXm.so.4
	/usr/dt/lib/libXm12.so
        /usr/dt/share/include/Xm/ArrowBGP.h
        /usr/dt/share/include/Xm/ArrowBP.h
        /usr/dt/share/include/Xm/AtomMgr.h
        /usr/dt/share/include/Xm/BaseClassP.h
        /usr/dt/share/include/Xm/BitmapsI.h
        /usr/dt/share/include/Xm/BulletinBP.h
        /usr/dt/share/include/Xm/CacheP.h
        /usr/dt/share/include/Xm/CascadeBGP.h
        /usr/dt/share/include/Xm/CascadeBP.h
        /usr/dt/share/include/Xm/ColorObj.h
        /usr/dt/share/include/Xm/ColorObjP.h
        /usr/dt/share/include/Xm/CutPaste.h
        /usr/dt/share/include/Xm/DisplayP.h
        /usr/dt/share/include/Xm/DragCP.h
        /usr/dt/share/include/Xm/DragOverSP.h
        /usr/dt/share/include/Xm/DrawP.h
        /usr/dt/share/include/Xm/DrawingAP.h
        /usr/dt/share/include/Xm/ExtObjectP.h
        /usr/dt/share/include/Xm/FileSBP.h
        /usr/dt/share/include/Xm/GadgetP.h
        /usr/dt/share/include/Xm/IconFileP.h
        /usr/dt/share/include/Xm/IconG.h
        /usr/dt/share/include/Xm/IconGP.h
        /usr/dt/share/include/Xm/ImageCachI.h
        /usr/dt/share/include/Xm/LabelGP.h
        /usr/dt/share/include/Xm/LabelP.h
        /usr/dt/share/include/Xm/ListP.h
        /usr/dt/share/include/Xm/ManagerP.h
        /usr/dt/share/include/Xm/MenuShellP.h
        /usr/dt/share/include/Xm/MenuUtilP.h
        /usr/dt/share/include/Xm/PanedWP.h
        /usr/dt/share/include/Xm/PrimitiveP.h
        /usr/dt/share/include/Xm/RowColumnP.h
        /usr/dt/share/include/Xm/ScaleP.h
        /usr/dt/share/include/Xm/ScreenP.h
        /usr/dt/share/include/Xm/ScrollBarP.h
        /usr/dt/share/include/Xm/ScrolledWP.h
        /usr/dt/share/include/Xm/SeparatoGP.h
        /usr/dt/share/include/Xm/TearOffBP.h
        /usr/dt/share/include/Xm/TextFP.h
        /usr/dt/share/include/Xm/TextInP.h
        /usr/dt/share/include/Xm/TextOutP.h
        /usr/dt/share/include/Xm/TextP.h
        /usr/dt/share/include/Xm/TextStrSoP.h
        /usr/dt/share/include/Xm/ToggleB.h
        /usr/dt/share/include/Xm/ToggleBG.h
        /usr/dt/share/include/Xm/ToggleBGP.h
        /usr/dt/share/include/Xm/ToggleBP.h
        /usr/dt/share/include/Xm/VirtKeysP.h
        /usr/dt/share/include/Xm/Xm.h
        /usr/dt/share/include/Xm/XmAll.h
        /usr/dt/share/include/Xm/XmP.h
        /usr/dt/share/include/Xm/XmosP.h
/usr/dt/lib/libMrm.so.4

Problem Description:

5086486 buffer overflows in Xpm code in libXm (CESA-2004-003 / CAN-2004-0687)
5086488 integer overflows in Xpm code in libXm (CESA-2004-003 / CAN-2004-0688
 
(from 107082-56)
5058156 Drag to outside of ScrolledWindow causes SIGSEGV in _XmSFUpdateNavigat
 
(from 107082-55)
4852622 Motif issue with Cadence font render table in 64 bit mode.
 
(from 107082-54)
4816308 Motif 2.1 libraries have FMMs and FMRs warnings
 
(from 107082-53)
4819221 Cadence dialog doesn't layout properly with 107081-50/52, works with 10
7081-45
 
(from 107082-52)
4717502 Motif 2.1 XmNaccelerator is broken in 64-bit mode
 
(from 107082-51)
4699202 Dtmail drop-down menu fails with SunRay Server patch 111891-05
4748494 Misguided patch dependency in CDE 1.4 Motif patch 108940-46
 
(from 107082-50)
4679034 setting XmNheight on XmText widget can fail if XmNfontList isn't set
4411356 Unregistering a child drop site can cause a crash
 
(from 107082-49)
Back out 4615922 fast, repeated drag and drop crashes cde apps
 
(from 107082-48)
4521757 XtCreateWidget or XtDestroyWidget leaks memory in Chinese localization(reworked)
 
(from 107082-47)
REMOVED 4615922 fast, repeated drag and drop crashes cde apps
 
(from 107082-46)
4664492 Function FileSelectionPB() broken when compiled for 64 bit support
4663311 RadioBox button spacing problems with motif 2.1 only
4521757 XtCreateWidget or XtDestroyWidget leaks memory in Chinese localization
 
(from 107082-45)
4633480 XmStringDrawSegment segfaults calling strcmp
4480444 Motif Crash With Dynamic Menus
 
(from 107082-44)
4512887 BrowseScroll timer not removed from text field on destruction
 
(from 107082-43)
4512887 BrowseScroll timer not removed from text field on destruction
4522359 motif pixmap need to be refreshed
 
(from 107082-42)
4530263 callbacks problems when using Sol 8 libXm
 
(from 107082-41)
4506157 Simultaneous mouse and keyboard events crash application with realloc
 
(from 107082-40)
4506742 translation callback lost after using NumLock
 
(from 107082-39)
4404627 XmDragCancel causes crashes
 
(from 107082-38)
4496686 Regression in patch # 107081-36: layout broken
4497373 smtv1.3: "Load Movie" window is too big to load movies
REMOVED 4432322 dbx RTC detects illegal memory access in libXt when starting Pro/E
 
(from 107082-37)
4479585 XmTextSetString() leaks memory in Motif 2.1 and 2.1.1
 
(from 107082-36)
4472710 netscape displays options menu incorrectly
 
(from 107082-35)
4459936 MrmFetchLiteral() returns value instead of *value under Motif 2.x
 
(from 107082-34)
4454476 solaris 2.6 only: toggle sensitive button changes toggle set
4451291 libXm contains buffer overflow
 
(from 107082-33)
4441305 libXm.so.4: ignore activate callback to interrupt a loop
4449359 application still dumps core in XtAppCreateShell() with patch 107081-32
 
(from 107082-32)
4340913 motif drag and drop doesn't work after a XReparent (reworked)
4424753 ToggleButton sometimes ignore XmToggleButtonGadgetSetState to set False
 
(from 107082-31)
4414939 motif text widget accesses illegal memory addresses
 
(from 107082-30)
4317815 libXm.so.4 does not handle virtual key bindings correctly.
 
(from 107082-29)
4340913 motif drag and drop doesn't work after a XReparent
 
(from 107082-28)
4412362 code crashes in XSetICValues
 
(from 107082-27)
4386891 Resize of dialog causes segmentation fault in XtIsSubClass
4406624 libXm.so.3 mouse pointer problem
 
(from 107082-26)
4383575 XtDestroyWidget leaks memory with libXm.so.4
4400646 pixmap button is squashed when desensitized under SunOS 5.7/Solaris 7
 
(from 107082-25)
4392423 CDE 1.3 does not echo German special keys from keyboard in certain widgets in C
 
(from 107082-24)
4320106 No events happen when ScrollBar is moved by keyboard action in Text.
 
(from 107082-23)
4367450 The losingFocusCallback is not called when Text widget loses input focus
 
(from 107082-22)
4334155 Fast double-clicking on menu buttons causes Motif 2.1 to hang
 
(from 107082-21)
4343099 Motif Gadget inheritance wrong with patch T107081-18
 
(from 107082-20)
4342603 _XmIEndUpdate() core dumps when event processing is delayed
 
(from 107082-19)
4336559 s81_12: libxm change breaks scrolling in Netscape horribly broken
(this fix also removes fix for bug 4320106)
 
(from 107082-18)
4322319 Color resource inheritance is broken in Motif 2.1 (Refix)
 
(from 107082-17)
4327272 Motif 2.1 crashes in XtAppCreateShell when creating Shell
4299139 Motif application goes down with BadValue error
4231112 Toggle unselect gc is not recreated when the background color is changed
4236647 ScrollBars are removed incorrectly in Motif 2.1
4254142 XmImGetXIC causes corrupts data on locales which does not need Input Methods
4322466 Repositioning the WorkWindow of an XMScrolledWindow causes incorrect callbacks
 
(from 107082-16)
4318757 crash in drag and drop
 
(from 107082-15)
4322319 Color resource inheritance is broken in Motif 2.1
4327592 XmRegisterSegmentEncoding leaks heap memory
4322728 XmNwidth is incorrect when set XmNfontList and XmNwidth many times over
4320106 No events happen when ScrollBar is moved by keyboard action in Text.
 
(from 107082-14)
4191799 paste from OW shelltool to dtmail compose message window is broken.
 
(from 107082-13)
4312519 Pre-highlighting of items in multiple select list box does not work
 
(from 107082-12)
4294643 libXm.so.4 does not set IC values for status area
 
(from 107082-11)
4256482 Banging on keyboard like a wild monkey during cde startup causes
4260817 "Write to unallocated" has occurred in XtAppInitialize under OpenW
4299216 Menu height size of motif OptionMenu with PulldownMenu is extended
 
(from 107082-10)
4261580 Background of Toggle button is filled with XmNselectColor
4064803 Java Workshop hangs when file reload modal dialog pops up after cu
 
(from 107082-09)
4258474 Patched libXm causes Memory Leak on Dual Headed Display
 
(from 107082-08)
4247649 Successive calls to XmGetPixmap() causes SEGV
4251451 Background resource cannot set to Cascade button with XtSetValuse
4245487 PushButtons of a Menubar needs the armcolor to be set explicitly
 
(from 107082-07)
4240553 fixing readdir_r caused many apps core dumped,MakeCachedDirEntry()
	violates std.
 
(from 107082-06)
4191346 Modify motif header files for backward compatibility with motif 1.2
 
(from 107082-05)
4226996 FileSelectionBox core when more than 34500 characters in directory
4224885 ToggleButtonGadget causes X error with patch 105284-23 installed
 
(from 107082-04)
4207929 toggle widget's resource cannot be set
4209526 Cannot set XmNheight for XmText on XmScrolledWindow
4211104 The dtpad cannot open file when its size is a multiple
        of pagesize
 
(from 107082-03)
4197157 Scale widget shows garbage on Form
4197929 New regression: XmGetPixmap does not search path
4197924 Patch 105285 breaks application
 
(from 107082-02)
4128879 application is not working in dual head using opengl 1.1.1. and
	motif.
4191550 patch 105284 version 16 or higher causes CDE backdrop problem in
	2.6 5/98
 
(from 107082-01)
4159034 Background color can't set to Option Menu under CDE.
4149711 Regression with patch 105284: XmGetPixmap does not search path.
4171291 Solaris 2.6 motif library patch is causing resize problems
        within applications
4170491 unneeded scrollbar displayed with patch 103461-27
4162369 Patch 105284-12 breaks scrolled list functionality on BulletinBoard
4165677 listbox item 5 addition causes JVM crash
4171723 X Error of failed request:  BadDrawable
4174322 Performance degradation of drawing text data is significant
4183749 patched Motif core dumps in CascadeBG code
4186734 Image Cache leaks pixmaps in patch 105284
4186826 2.6 Motif libraries are causing memory leaks
 
(from 107608-01)
4201602 When passing a fontList that has no fontSet to XmImSetValues core in ImGetGeo
 
(from 107803-01)
4219810 XtAppInitialize fails when used with watchmalloc

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-8 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-02
 
The following example removes a patch from a standalone system:
 
	example# patchrm 104945-02
 
For additional examples please see the appropriate man pages.

Special Install Instructions:
-----------------------------
 
As a result of installing this patch a new link has been created
in /usr/dt/lib which links libXm12.so to libXm.so.3.  This allows
applications on Solaris 7 to be linked to Motif's 1.2.5 compatibility
library (libXm.so.3).
 
In order to link to the compatibility library the application must
define MOTIF12_HEADERS and link to libXm12.so.  Defining MOTIF12_HEADERS
ensures that the Motif header files are fully compatible with Motif 1.2.5.

README -- Last modified date:  Thursday, May 5, 2005

