OpenSolaris

Printable Version Enter a New Search
Bug ID 6755532
Synopsis libXt should mark vendorShell objects NODIRECT
State 10-Fix Delivered:Verified (Fix available in build)
Category:Subcategory xserver:client_libs
Keywords testcase
Responsible Engineer Alan Coopersmith
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_101
Fixed In snv_101
Release Fixed solaris_nevada(snv_101)
Related Bugs 4881065
Submit Date 3-October-2008
Last Update Date 17-October-2008
Description
As discovered & recorded in CR 4881065, both libXaw and libXm interpose their own
version of vendorShellClassRec and vendorShellWidgetClass over libXt's version.

CR 4881065 was fixed by removing -B direct from the libXt link options, but
we now have a better solution from the linker - marking the entries in the mapfile
for those symbols as NODIRECT so nothing can establish a direct binding to them,
including stuff built outside the X tree.
*** Test Case ***
Run ' lari -a /usr/X11/lib/libXt.so.4 | grep vendorShell ' and
' lari -a /usr/X11/lib/64/libXt.so.4 | grep vendorShell '

Each command should print two lines, one for vendorShellClassRec and
one for vendorShellWidgetClass, like this:

[1:3SN]: vendorShellClassRec[0x94]: /usr/X11/lib/libXt.so.4
[1:0N]: vendorShellWidgetClass[0x4]: /usr/X11/lib/libXt.so.4

Verify that the letter "N" appears inside the first set of [] on both of those
lines.
Work Around
N/A
Comments
N/A