Patch-ID# 110917-05
Keywords: security sort fields columns piping sigbus newline fault diagnostics
Synopsis: SunOS 5.8_x86: /usr/bin/i86/sort and /usr/xpg4/bin/sort patch
Date: Dec/15/2003


Install Requirements: None                      
                      
Solaris Release: 8_x86

SunOS Release: 5.8_x86

Unbundled Product: 

Unbundled Release: 

Xref: This patch available for SPARC as patch 110916

Topic: SunOS 5.8_x86: /usr/bin/i86/sort and /usr/xpg4/bin/sort patch

Relevant Architectures: i386

BugId's fixed with this patch: 4300461 4303258 4304444 4314724 4330831 4334641 4338929 4343080 4351862 4352007 4357085 4361114 4366860 4378104 4389764 4404621 4451778 4451806 4457354 4473934 4507889 4519797 4615900 4615904 4641790 4725245 4817791 4851433 4897491 4913776

Changes incorporated in this version: 4641790 4817791 4851433 4897491 4913776

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch: 

Patches required with this patch: 

Obsoleted by: 

Files included with this patch: 

/usr/bin/i86/sort
/usr/xpg4/bin/sort

Problem Description:

4817791 The sort command does not remove stmxxxxxxx temporary files after abort
4641790 *sort* could be more economical with memory during merge
4913776 temporary file handling fix incomplete
4851433 *sort* is excessively nostalgic about used temporary files
4897491 *sort* contains potentially unsafe code
 
(from 110917-04)
 
4725245 *sort* -n and -M misunderstand 1st field if it is NULL value when used with -t
 
(from 110917-03)
 
4361114 piping a file through sort on solaris 8 appears to produce incorrect results
4378104 *sort* sort command reports differently
4451778 *sort* specifying non-directory via -T should warn
4451806 *sort* -m on three files if one file is empty fails w/ 5.8 sort patch 110916-01
4457354 *sort* delimiter-dependent output in various locales
4473934 *sort* using temp filenames /var/tmp/stm???? can cause abort
4507889 *sort* terminates with SIGBUS
4519797 sort doesn't handle lines missing NEWLINE
4615900 *sort* -y option can lead to segmentation fault
4615904 *sort* internal diagnostics are incomplete
 
(from 110917-02)
 
4404621 *sort* on LANG=ja, sort fails if descriptors=1024
 
(from 110917-01)
 
4343080 *sort* sorts by wrong fields and columns
4300461 *sort* faults on illegal byte sequence or other read failure
4303258 *sort* reverse option on fields causes improper /usr/bin/sort output
4304444 when sorts needs to use temporary files, data corruption can result
4314724 sort -m prepends a new line character when given an empty input file
4330831 sort still gets field limits wrong
4334641 sort -m does not return merged data to stdout
4338929 sort argument parsing flawed in Solaris 8
4351862 *sort* could use diagnostic support for debugging purposes
4352007 *sort* (IA only) wrong result in multibyte locales
4357085 *sort* same field specifications incorrect; can cause segfault
4366860 *sort* output contains spurious partial lines in certain cases
4389764 *sort* can be much distressed in wide locale situations

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-9 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:
-----------------------------
 
None.

README -- Last modified date:  Monday, December 15, 2003

