Patch-ID# 108992-10
Keywords: security malloc ENOMEM syslog libc tasks accounting semaphore
Synopsis: SunOS 5.8_x86: libc and watchmalloc patch
Date: 21/Jan/01

Solaris Release: 8_x86

SunOS release: 5.8_x86

Unbundled Product: 

Unbundled Release: 

Topic: SunOS 5.8_x86: libc and watchmalloc patch

	NOTE:   Refer to Special Install Instructions section for 
                IMPORTANT specific information on this patch.

BugId's fixed with this patch: 4193683 4225913 4291844 4292683 4302592 4303962 4310353 4312278 4314913 4341290 4355205 4355206 4366956 4374039 4375449 

Changes incorporated in this version: 4341290

Relevant Architectures: i386

Patches accumulated and obsoleted by this patch: 110590-02 

Patches which conflict with this patch: 

Patches required with this patch: 108990-01 109237-01 108529-07 (or newer)

Obsoleted by: 

Files included with this patch:

/usr/include/nl_types.h
/usr/lib/abi/abi_libc.so.1
/usr/lib/abi/abi_watchmalloc.so.1
/usr/lib/libc.a
/usr/lib/libc.so.1
/usr/lib/libp/libc.a
/usr/lib/llib-lc
/usr/lib/llib-lc.ln
/usr/lib/pics/libc_pic.a
/usr/lib/watchmalloc.so.1

Problem Description:

4341290 memory leak in regcomp

(from 108992-09)

      This patch revision was generated to accumulate and obsolete the 
      feature changes introduced in feature point patch 110590-02

(from 108992-08)

4374039 libc/realpath can still write past end of buffer

(from 108992-07)

4302592 TLI library is not fork-safe

(from 108992-06)

4366956 NLSPATH gettext introduces problems when used printf format specifier
4375449 dtmail crashes when calling catgets with NULL default message

(from 108992-05)

4303962 multi-threaded fork1/execvp can fail because __environ_lock is held in parent

(from 108992-04)

4291844 strftime and strptime are MT-Unsafe due to use of tzname[]

(from 108992-03)

4310353 msgids, semids, shmids and msgsnap

(from 108992-02)

4312278 tasks, projects, extended accounting project

(from 108992-01)

4193683 malloc() with very big requested array size works incorrectly
4225913 malloc does not set errno to ENOMEM when not enough memory
4314913 fix for Bug 4042527 leaves part of heap unusable, so frees can not combine.
4292683 /usr/ucb/shutdown core dumps in syslog()

(from 110590-02)

       Patch reved to sync feature gate with patch gate

(from 110590-01)

4355205 System V semaphores suffer from false sharing
4355206 System V semaphore timeout mechanism

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 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: 
----------------------------- 

Reboot the system after patch installation.

	NOTE 1:	To get the complete support for Tasks, Projects and
		Accounting, one needs to install the following patches:

		108529-01 (or newer)    kernel update patch
		108994-01 (or newer)	nss and ldap patch
		108990-01 (or newer)    /usr/kernel/sys/acctctl and 
					/usr/kernel/sys/exacctsys patch
		108996-01 (or newer)    /usr/lib/libproc.so.1 patch
		109026-01 (or newer)    /usr/bin/i86/truss patch
		109004-01 (or newer)    /etc/init.d/acctadm and 
					/usr/sbin/acctadm patch
		109010-01 (or newer)    /etc/magic and /usr/bin/file patch
		109020-01 (or newer)    /usr/bin/priocntl patch
		109028-01 (or newer)    /usr/bin/wracct patch
		108998-01 (or newer)    libexacct and libproject patch
		109008-01 (or newer)    at/atrm/batch/cron patch
		109012-01 (or newer)    /usr/bin/id and /usr/xpg4/bin/id patch
		109014-01 (or newer)    /usr/bin/lastcomm patch
		109016-01 (or newer)    /usr/bin/newtask patch
		109000-01 (or newer)    PAM patch
		109022-01 (or newer)    /usr/bin/projects patch
		109024-01 (or newer)    /usr/bin/i86/ps patch
		109006-01 (or newer)    /sbin/su.static and /usr/bin/su patch
		109036-01 (or newer)    useradd/userdel/usermod patch
		109030-01 (or newer)    perl patch
		109018-01 (or newer)	/usr/bin/pgrep and /usr/bin/pkill patch
		109034-01 (or newer)    /usr/bin/i86/prstat patch
		109038-01 (or newer)    /var/yp/Makefile and 
					/var/yp/nicknames patch
		109032-01 (or newer)    projadd/projdel/projmod patch
		

	NOTE 2: To get the complete fix for 4310353 (msgids, semids,
                shmids and msgsnap -- provide all of the System 5 message 
                queue identifiers in the system), one needs to install
                the following patches:

                109237-01 (or newer)    msgsys, semsys and shmsys patch
                109239-01 (or newer)    /usr/bin/i86/ipcs patch

	NOTE 3: To get the complete fix for

                4355205 System V semaphores suffer from false sharing
                4355206 System V semaphore timeout mechanism

                one needs to install the following patches:

                108529-07 (or newer)    kernel update patch
                108992-09 (or newer)    libc patch
                109026-02 (or newer)    truss patch
