Patch-ID# 107081-57
Keywords: security problems broken compiled drag drop crashes child drop
Synopsis: Motif 1.2.7 and 2.1.1: Runtime library patch for Solaris 7
Date: May/05/2005


Install Requirements: NA                      
                      
Solaris Release: 7

SunOS Release: 5.7

Unbundled Product: Motif

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

Xref: This patch available for x86 as 107082

Topic: 

Relevant Architectures: sparc

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: 107607-01 107802-01

Patches which conflict with this patch: 

Patches required with this patch: 107656-09 (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/lib/sparcv9/libXm.so.4
        /usr/dt/lib/sparcv9/libMrm.so.4
        /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 107081-56)
5058156 Drag to outside of ScrolledWindow causes SIGSEGV in _XmSFUpdateNavigat
 
(from 107081-55)
4852622 Motif issue with Cadence font render table in 64 bit mode.
 
(from 107081-54)
4816308 Motif 2.1 libraries have FMMs and FMRs warnings
 
(from 107081-53)
4819221 Cadence dialog doesn't layout properly with 107081-50/52, works with 107081-45
 
(from 107081-52)
4717502 Motif 2.1 XmNaccelerator is broken in 64-bit mode
 
(from 107081-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 107081-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 107081-49)
Back out 4615922 fast, repeated drag and drop crashes cde apps
 
(from 107081-48)
4521757 XtCreateWidget or XtDestroyWidget leaks memory in Chinese localization
 
(from 107081-47)
REMOVED 4615922 fast, repeated drag and drop crashes cde apps
 
(from 107081-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 107081-45)
4633480 XmStringDrawSegment segfaults calling strcmp
4480444 Motif Crash With Dynamic Menus
 
(from 107081-44)
4512887 BrowseScroll timer not removed from text field on destruction
 
(from 107081-43)
4512887 BrowseScroll timer not removed from text field on destruction
4522359 motif pixmap need to be refreshed
 
(from 107081-42)
4530263 callbacks problems when using Sol 8 libXm
 
(from 107081-41)
4506157 Simultaneous mouse and keyboard events crash application with realloc
 
(from 107081-40)
4506742 translation callback lost after using NumLock
 
(from 107081-39)
4404627 XmDragCancel causes crashes
 
(from 107081-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 107081-37)
4479585 XmTextSetString() leaks memory in Motif 2.1 and 2.1.1
 
(from 107081-36)
4472710 netscape displays options menu incorrectly
 
(from 107081-35)
4459936 MrmFetchLiteral() returns value instead of *value under Motif 2.x
 
(from 107081-34)
4454476 solaris 2.6 only: toggle sensitive button changes toggle set
4451291 libXm contains buffer overflow
 
(from 107081-33)
4441305 libXm.so.4: ignore activate callback to interrupt a loop
4449359 application still dumps core in XtAppCreateShell() with patch 107081-32
 
(from 107081-32)
4340913 motif drag and drop doesn't work after a XReparent (reworked)
4424753 ToggleButton sometimes ignore XmToggleButtonGadgetSetState to set False
 
(from 107081-31)
4414939 motif text widget accesses illegal memory addresses
 
(from 107081-30)
4317815 libXm.so.4 does not handle virtual key bindings correctly.
 
(from 107081-29)
4340913 motif drag and drop doesn't work after a XReparent
 
(from 107081-28)
4412362 code crashes in XSetICValues
 
(from 107081-27)
4386891 Resize of dialog causes segmentation fault in XtIsSubClass
4406624 libXm.so.3 mouse pointer problem
 
(from 107081-26)
4383575 XtDestroyWidget leaks memory with libXm.so.4
4400646 pixmap button is squashed when desensitized under SunOS 5.7/Solaris 7
 
(from 107081-25)
4392423 CDE 1.3 does not echo German special keys from keyboard in certain widgets in C
 
(from 107081-24)
4320106 No events happen when ScrollBar is moved by keyboard action in Text.
 
(from 107081-23)
4367450 The losingFocusCallback is not called when Text widget loses input focus
 
(from 107081-22)
4334155 Fast double-clicking on menu buttons causes Motif 2.1 to hang
 
(from 107081-21)
4343099 Motif Gadget inheritance wrong with patch T107081-18
 
(from 107081-20)
4342603 _XmIEndUpdate() core dumps when event processing is delayed
 
(from 107081-19)
4336559 s81_12: libxm change breaks scrolling in Netscape horribly broken
(this fix also removes fix for bug 4320106)
 
(from 107081-18)
4322319 Color resource inheritance is broken in Motif 2.1 (Refix)
 
(from 107081-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 107081-16)
4318757 crash in drag and drop
 
(from 107081-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 107081-14)
4191799 paste from OW shelltool to dtmail compose message window is broken.
 
(from 107081-13)
4312519 Pre-highlighting of items in multiple select list box does not work
 
(from 107081-12)
4294643 libXm.so.4 does not set IC values for status area
 
(from 107081-11)
4299216 Menu height size of motif OptionMenu with PulldownMenu is extended(libXm.so.4)
4256482 Banging on keyboard like a wild monkey during cde startup causes
4260817 "Write to unallocated" has occurred in XtAppInitialize under OpenW
 
(from 107081-10)
4261580 Background of Toggle button is filled with XmNselectColor
4064803 Java Workshop hangs when file reload modal dialog pops up after cu
 
(from 107081-09)
4258474 Patched libXm causes Memory Leak on Dual Headed Display
 
(from 107081-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 107081-07)
4240553 fixing readdir_r caused many apps core dumped,MakeCachedDirEntry()
	violates std.
 
(from 107081-06)
4191346 Modify motif header files for backward compatibility with motif 1.2
 
(from 107081-05)
4224885 ToggleButtonGadget causes X error with patch 105284-23 installed
4226996 FileSelectionBox core when more than 34500 characters in directory
 
(from 107081-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 107081-03)
4197157 Scale widget shows garbage on Form
4197929 New regression: XmGetPixmap does not search path
4197924 Patch 105284 breaks application
 
(from 107081-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 107081-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 107607-01)
4201602 When passing a fontList that has no fontSet to XmImSetValues core in ImGetGeo
 
(from 107802-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

