OBSOLETE Patch-ID# 124922-03


Download this patch from My Oracle Support

Your use of the firmware, software and any other materials contained in this update is subject to My Oracle Support Terms of Use, which may be viewed at My Oracle Support.
For further information on patching best practices and resources, please see the following links:
Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.

Keywords: security ld.so.1 locale overflow
Synopsis: Obsoleted by: 120011-14 SunOS 5.10: ld.so.1 patch
Date: Apr/09/2007


Install Requirements: Reboot after installing this patch to activate the changes delivered. An alternative may be specified in the Special Install Instructions.
Use Single User Mode (run level S) when installing this patch on an active boot environment. An alternative may be specified in the Special Install Instructions.

Solaris Release: 10

SunOS Release: 5.10

Unbundled Product:

Unbundled Release:

Xref: This patch available for x86 as patch 124923

Topic: SunOS 5.10: ld.so.1 patch

Relevant Architectures: sparc

Bugs fixed with this patch:

Sun CR # Bug #
498636015194466
619723415237208
620186615238685
622914515249302
626233315262605
628020915269583
630420615279147
630714615280231
630727415280275
631670815284180
632492415287373
632649715288002
632792615288515
634081415293677
635002715297742
636204415302382
636204715302383
636349515303015
637187715306619
637208215306696
637262015306941
638047015310506
638294515311624
638894615314415
639041015315111
639725615318572
639889315319297
640961315323822
642305115329210
642413215329699
642455015329903
642604815330592
642941815332089
642950415332126
643183515332977
644674015339158
644948515340409
646423515347596
646562315348233
646792515349274
647713215353448
648727315358161
648728415358165


Changes incorporated in this version: 4986360 6197234 6201866 6229145 6262333 6280209 6304206 6307146 6307274 6316708 6324924 6326497 6327926 6340814 6350027 6362044 6362047 6363495 6371877 6372082 6372620 6380470 6382945 6388946 6390410 6397256 6398893 6409613 6423051 6424132 6424550 6426048 6429418 6429504 6431835 6446740 6449485 6464235 6465623 6467925

Patches accumulated and obsoleted by this patch:

Patches which conflict with this patch:

Patches required with this patch: 118833-36 (or greater)

Obsoleted by: 120011-14

Files included with this patch:

/kernel/misc/sparcv9/krtld
/lib/ld.so.1
/lib/libdl.so.1
/lib/libelf.so.1
/lib/libld.so.4
/lib/liblddbg.so.4
/lib/librtld.so.1
/lib/librtld_db.so.1
/lib/llib-ldl
/lib/llib-ldl.ln
/lib/llib-lelf
/lib/llib-lelf.ln
/lib/llib-lrtld_db
/lib/llib-lrtld_db.ln
/lib/sparcv9/ld.so.1
/lib/sparcv9/libdl.so.1
/lib/sparcv9/libelf.so.1
/lib/sparcv9/libld.so.4
/lib/sparcv9/liblddbg.so.4
/lib/sparcv9/librtld.so.1
/lib/sparcv9/librtld_db.so.1
/lib/sparcv9/llib-ldl.ln
/lib/sparcv9/llib-lelf.ln
/lib/sparcv9/llib-lrtld_db.ln
/usr/bin/crle
/usr/bin/ldd
/usr/bin/moe
/usr/bin/pvs
/usr/bin/sotruss
/usr/bin/sparcv9/moe
/usr/bin/sparcv9/pvs
/usr/bin/whocalls
/usr/ccs/bin/dump
/usr/ccs/bin/elfdump
/usr/ccs/bin/gprof
/usr/ccs/bin/lari
/usr/ccs/bin/ld
/usr/ccs/bin/mcs
/usr/ccs/bin/sparcv9/dump
/usr/ccs/bin/sparcv9/elfdump
/usr/ccs/bin/sparcv9/ld
/usr/ccs/bin/sparcv9/mcs
/usr/ccs/bin/sparcv9/strip
/usr/ccs/bin/strip
/usr/include/dlfcn.h
/usr/include/gelf.h
/usr/include/libelf.h
/usr/include/link.h
/usr/include/rtld_db.h
/usr/include/sys/elf.h
/usr/include/sys/elf_386.h
/usr/include/sys/elf_SPARC.h
/usr/include/sys/elftypes.h
/usr/include/sys/link.h
/usr/include/sys/machelf.h
/usr/lib/0@0.so.1
/usr/lib/ld.so.1
/usr/lib/lddstub
/usr/lib/libcrle.so.1
/usr/lib/libldstab.so.1
/usr/lib/link_audit/ldprof.so.1
/usr/lib/link_audit/sparcv9/ldprof.so.1
/usr/lib/link_audit/sparcv9/truss.so.1
/usr/lib/link_audit/sparcv9/who.so.1
/usr/lib/link_audit/truss.so.1
/usr/lib/link_audit/who.so.1
/usr/lib/sparcv9/ld.so.1
/usr/lib/sparcv9/lddstub
/usr/lib/sparcv9/libcrle.so.1
/usr/lib/sparcv9/libldstab.so.1

Problem Description:

4986360 linker crash on exec of .so (as opposed to a.out) -- error preferred instead
6197234 elfdump and dump don't handle 64-bit symbols correctly
6201866 amd64: linker symbol elimination is broken
6229145 ld: initarray/finiarray processing occurs after got size is determined
6262333 init section of .so dlopened from audit interface not being called
6280209 elfdump cores on memory model 0x3
6304206 runtime linker may respect LANG and LC_MESSAGES more than LC_ALL
6307146 mcs dumps core when appending null string to comment section
6307274 crle bug with LD_LIBRARY_PATH
6316708 LD_DEBUG should provide a means of identifying/isolating individual link-map lists
6324924 the linker should warn if there's a .init section but not _init
6326497 ld.so not properly processing LD_LIBRARY_PATH ending in :
6327926 ld does not set etext symbol correctly for AMD64 medium model
6340814 ld.so.1 core dump with HWCAP relocatable object + updated statistics
6350027 ld.so.1 aborts with assertion failed on amd64
6362044 ld(1) inconsistencies with LD_DEBUG=-Dunused and -zignore
6362047 ld.so.1 dumps core when combining HWCAP and LD_PROFILE
6363495 catchup required with Intel relocations
6371877 LD_PROFILE_64 with gprof don't produce correct results on amd64
6372082 ld -r erroneously creates .got section on i386
6372620 printstack() segfaults when called from static function
6380470 32-bit ld(1) incorrectly builds 64-bit relocatable objects
6382945 AMD64-GCC: dbx: internal error: dwarf reference attribute out of bounds
6388946 attempting to dlopen a .o file mislabeled as .so fails
6390410 64-bit LD_PROFILE can fail: relocation error when binding profile plt
6397256 ldd dumps core in elf_fix_name
6398893 extended section processing needs some work
6409613 elf_outsync() should fsync()
6423051 static TLS support within the link-editors needs a major face lift
6424132 elfdump inserts extra whitespace in bitmap value display
6424550 write to unallocated (wua) errors when libraries are built with -z lazyload
6426048 C++ exceptions broken for amd64
6429418 ld.so.1: need work-around for Nvidia drivers use of static TLS
6429504 crle(1) shows wrong defaults for non-existent 64-bit config file
6431835 data corruption on x64 in 64-bit mode while LD_PROFILE is in effect
6446740 allow mapfile symbol definitions to create backing storage
6449485 ld(1) creates misaligned TLS in binary compiled with -xpg
6464235 executing the 64-bit ld(1) should be easy
6465623 need a way of building unix without an interpreter
6467925 ld: section deletion (-z ignore) requires improvement
 
(from 124922-02)
 
6477132 ld.so.1: memory leak when running set*id application
 
(from 124922-01)
 
6487273 ld.so.1 may open arbitrary locale files when relative path is built from locale environment vars
6487284 ld.so.1: buffer overflow in doprf() function


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-10 releases, 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:
-----------------------------
 
NOTE 1:  Perform patch installation in single user mode.
         Reboot system after patch installation.
 
NOTE 2:  If you're planning to set up Zones on this system, please make
         sure to install the following patch which fixes bugid 6216195
         (zone installation confused by UPDATE=yes in pkginfo(4) file):
 
         119015-01 (or greater)  Install and Patch Utilities Patch
 
         (Note that 119254 has superseded 119015; installation of the
          current version is recommended to be preferred, due to its
          central role in the installation and removal of patches.)


README -- Last modified date: Saturday, November 10, 2012