Patch-ID# 108991-06
Keywords: security malloc ENOMEM syslog libc tasks projects extended accounting
Synopsis: SunOS 5.8: libc and watchmalloc patch
Date: 20/Nov/00

Solaris Release: 8

SunOS release: 5.8

Unbundled Product: 

Unbundled Release: 

Topic: SunOS 5.8: 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 4303962 4310353 4312278 4314913 4366956 4375449 

Changes incorporated in this version: 4366956 4375449

Relevant Architectures: sparc

Patches accumulated and obsoleted by this patch:  

Patches which conflict with this patch: 109079-01 (or newer)

Patches required with this patch: 108528-01 108989-01 109236-01 (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/abi/sparcv9/abi_libc.so.1
/usr/lib/abi/sparcv9/abi_watchmalloc.so.1
/usr/lib/libc.a
/usr/lib/libc.so.1
/usr/lib/libp/libc.a
/usr/lib/libp/sparcv9/libc.so.1
/usr/lib/llib-lc
/usr/lib/llib-lc.ln
/usr/lib/pics/libc_pic.a
/usr/lib/pics/sparcv9/libc_pic.a
/usr/lib/sparcv9/libc.so.1
/usr/lib/sparcv9/llib-lc.ln
/usr/lib/sparcv9/watchmalloc.so.1
/usr/lib/watchmalloc.so.1

Problem Description:

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

(from 108991-05)

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

(from 108991-04)

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

(from 108991-03)

4310353 msgids, semids, shmids and msgsnap

(from 108991-02)

4312278 tasks, projects, extended accounting project

(from 108991-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 cannot combine.
4292683 /usr/ucb/shutdown core dumps in syslog()

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:

		108528-01 (or newer)    kernel update patch
		108993-01 (or newer)	nss and ldap patch
		108989-01 (or newer)    /usr/kernel/sys/acctctl and 
					/usr/kernel/sys/exacctsys patch
		108995-01 (or newer)    /usr/lib/libproc.so.1 patch
		109025-01 (or newer)    /usr/bin/sparcv7/truss and
					/usr/bin/sparcv9/truss patch
		109003-01 (or newer)    /etc/init.d/acctadm and 
					/usr/sbin/acctadm patch
		109009-01 (or newer)    /etc/magic and /usr/bin/file patch
		109019-01 (or newer)    /usr/bin/priocntl patch
		109027-01 (or newer)    /usr/bin/wracct patch
		108997-01 (or newer)    libexacct and libproject patch
		109007-01 (or newer)    at/atrm/batch/cron patch
		109011-01 (or newer)    /usr/bin/id and /usr/xpg4/bin/id patch
		109013-01 (or newer)    /usr/bin/lastcomm patch
		109015-01 (or newer)    /usr/bin/newtask patch
		108999-01 (or newer)    PAM patch
		109021-01 (or newer)    /usr/bin/projects patch
		109023-01 (or newer)    /usr/bin/sparcv7/ps and 
					/usr/bin/sparcv9/ps patch
		109005-01 (or newer)    /sbin/su.static and /usr/bin/su patch
		109035-01 (or newer)    useradd/userdel/usermod patch
		109029-01 (or newer)    perl patch
		109017-01 (or newer)	/usr/bin/pgrep and /usr/bin/pkill patch
		109033-01 (or newer)    /usr/bin/sparcv7/prstat and 
					/usr/bin/sparcv9/prstat patch
		109037-01 (or newer)    /var/yp/Makefile and 
					/var/yp/nicknames patch
		109031-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:

                109236-01 (or newer)    msgsys, semsys and shmsys patch
                109238-01 (or newer)    /usr/bin/{sparcv7,sparcv9}/ipcs
                                        patch 
