OBSOLETE Patch-ID# 114980-31


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 lpstat buffer overrun exec_attr cftime cancel rbac conv_fix
Synopsis: Obsoleted by: 114423-09 SunOS 5.9_x86: lp Patch
Date: Nov/30/2010


Install Requirements: After installing this patch on an active boot environment, the system will be in a potentially inconsistent state until a reconfigure reboot is performed. Unless otherwise specified in the Special Install Instructions below, it is normally safe to apply further patches prior to initiating the reboot due to the relatively small footprint of the patch utilities. Normal operations must not be resumed until after the reconfigure reboot is performed.
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: 9_x86

SunOS Release: 5.9_x86

Unbundled Product:

Unbundled Release:

Xref: This patch available for SPARC as patch 113329

Topic: SunOS 5.9_x86: lp Patch

Relevant Architectures: i386

Bugs fixed with this patch:

Sun CR # Bug #
453049915088185
459303115090465
462654215094086
463597815096472
464097615097696
464882515099432
465245315100222
468745815108113
468748315108119
469746015110503
470414615112179
470415315112181
470415715112182
470430315112209
470437615112223
470437715112224
470478615112363
470479315112366
470479815112368
470481215112371
470482415112380
470492115112417
470492615112420
470561115112618
470562615112620
470563515112621
470566315112628
470566515112629
470589915112691
470591015112694
470591115112697
470591515112698
470593315112699
470593715112701
470594315112705
470594715112708
470594815112710
470595015112711
470595715112712
470595915112713
470597715112729
470635115112813
471495215114957
473430115119946
475157015125060
476175315128004
476179115128017
477510815132338
480908215143338
480969015143547
481920315146618
490291615171629
491585515175201
492501515177684
492778415178461
493011915179079
494003215181729
498136215192947
498686615194599
499799415197630
501433815201663
502520315204428
504303415210028
506045015214605
506412015215657
506560815216056
618604015234175
620805815240973
628913415273130
629731815276382
631424315283119
631424515283120
632324415286787
641832815327297
647915215354325
653951615386877
659909915420264
659995015420702
664582015447968
668817615472600
675020615509469
686349815577705
687224215582861
689964315602363
692211415619304
692212115619310
694155315634792
696120715649847
696594315653541
697517715661130


Changes incorporated in this version: 6941553

Patches accumulated and obsoleted by this patch: 115883-01 116240-01

Patches which conflict with this patch:

Patches required with this patch:

Obsoleted by: 114423-09

Files included with this patch:

/etc/security/exec_attr
/usr/bin/cancel
/usr/bin/lp
/usr/bin/lpget
/usr/bin/lpset
/usr/bin/lpstat
/usr/lib/libprint.so.2
/usr/lib/lp/bin/getmakes
/usr/lib/lp/bin/getmodels
/usr/lib/lp/bin/getppdfile
/usr/lib/lp/bin/getppds
/usr/lib/lp/bin/lp.cat
/usr/lib/lp/bin/lp.tell
/usr/lib/lp/bin/netpr
/usr/lib/lp/bin/ppdfilename2mmp
/usr/lib/lp/local/accept
/usr/lib/lp/local/lp
/usr/lib/lp/local/lpadmin
/usr/lib/lp/local/lpmove
/usr/lib/lp/local/lpstat
/usr/lib/lp/local/lpsystem
/usr/lib/lp/lpsched
/usr/lib/lp/postscript/download
/usr/lib/lp/postscript/dpost
/usr/lib/lp/postscript/picpack
/usr/lib/lp/postscript/postcomm
/usr/lib/lp/postscript/postdaisy
/usr/lib/lp/postscript/postdmd
/usr/lib/lp/postscript/postio
/usr/lib/lp/postscript/postplot
/usr/lib/lp/postscript/postprint
/usr/lib/lp/postscript/postreverse
/usr/lib/lp/postscript/posttek
/usr/lib/print/bsd-adaptor/bsd_cascade.so.1
/usr/lib/print/bsd-adaptor/bsd_lpsched.so.1
/usr/lib/print/conv_fix
/usr/lib/print/in.lpd
/usr/lib/print/psm-lpsched.so
/usr/lib/print/psm-lpsched.so.1
/usr/sadm/admin/bin/printmgr
/usr/sadm/admin/printmgr/classes/pmclient.jar
/usr/sadm/admin/printmgr/classes/pmserver.jar
/usr/sadm/admin/printmgr/lib/libpmgr.so
/usr/sadm/admin/printmgr/lib/libpmgr.so.1
/usr/sbin/lpadmin
/usr/sbin/lpfilter
/usr/sbin/lpforms
/usr/sbin/lpmove
/usr/sbin/lpshut
/usr/sbin/lpusers
/usr/ucb/lpc

Problem Description:

6941553 banner title field switched to "standard input" if source file path is longer than 23 characters
 
(from 114980-30)
 
6961207 Solaris 9 lpstat cannot handle printer name which has dash number included
6975177 lpstat(1) does not show print queues in priority order on Solaris 9 printer clients
 
(from 114980-29)
 
6965943 lp(1) with the -q option does not work as expected if the printer server is running Solaris 9
 
(from 114980-28)
 
6922114 lpstat -p shows different timestamp format in ja locale
6922121 after hold, lpstat -p output always shows now printing on the client in case server is Solaris 9
 
(from 114980-27)
 
6899643 output from 'lpstat -p' is different in Solaris 9 when connected to a S10U5+ system
 
(from 114980-26)
 
6863498 The "standard input" doesn't get printed to "Title:" even if the data is given to lp via its stdin
6872242 lp -d .. -H hold not working if target lp server is S9/S10U4+
 
(from 114980-25)
 
6750206 dtlogin core dumps on Solaris 9 with 112960-62 or 112960-63 patches
 
(from 114980-24)
 
6688176 in.lpd dumps core
 
(from 114980-23)
 
5014338 postreverse crashes processing dpost output
6418328 printjobs blocked in hold state whenever jobid number surpasses 999 and hostname >= 13
6479152 lpadmin form alignment test gets stuck in endless loop
6645820 postreverse(1) may dump core on memory allocation in DocumentPages()
 
(from 114980-22)
 
6323244 patch 113329-05 and higher causes remote printing to reprint large jobs
 
(from 114980-21)
 
6539516 applications compiled with -lldap on Solaris 8 core dump on Solaris 9 or later releases
 
(from 114980-20)
 
6599099 fix for 4383387 should reuse existing memory
6599950 print localhost checking should be shared
 
(from 114980-19)
 
6297318 orphan dfA files found on cascading SUN print host
 
(from 114980-18)
 
5065608 cascading is broken with latest Solaris printing patch
 
(from 114980-17)
 
6314243 lpsched should sanity-check request files
6314245 racy chown/chmod in lpsched
 
(from 114980-16)
 
6289134 lp subsystem remote file removal issue
 
(from 114980-15)
 
6208058 in.lpd failed to print files when umask is set to 077
 
(from 114980-14)
 
4997994 lp cannot read/print file in NFS-mounted directory
5060450 lp/printd: net_send_file() does not munmap() buffer for data file
5064120 ERROR: "/dev/cua/a" is symlink that points to file with different owner
6186040 redundant check in lpadmin for device owner
 
(from 114980-13)
 
5043034 large print jobs timeout on network printers and are continually rescheduled
 
(from 114980-12)
 
        Special patch install instructions replaces the need for a
        reconfiguration immediately after patch installation.
 
(from 114980-11)
 
4986866 lpmove incorrectly reports usage error for remote print jobs
 
(from 114980-10)
 
        Uprev'ed patch due to missing package SUNWpsr - see bug 5045047.
 
(from 114980-09)
 
4530499 invalid syslog message when printer does not exist
4593031 receive NullPointerExceptions when selecting menu options quickly
4626542 lpshut ignores that it can't get lock on FIFO and just continues to loop
4635978 in.lpd turns into a fork()/exec() bomb
4640976 client: generation of copyright file is dodgy
4652453 incorrect messaging in lp.cat
4687458 lpmove dumps core when malloc call returns NULL
4687483 netpr dumps core when malloc calls fail
4704146 lpforms: potential race condition creating temporary file
4704153 potential buffer overrun in in.lpd
4704157 lpadmin: bad use of gets()
4704303 lpsched: use of cftime() is dangerous
4704376 usr/src/cmd/lp/filter/postscript/common/misc.c error() should be varargs
4704377 usr/src/cmd/lp/filter/postscript/postcomm/postcomm.c error() should be varargs
4704786 lpsched: potential buffer overruns
4704793 lpsched: racy stat()
4704798 lpc: potential buffer overruns
4704921 lp: creates temporary files with fopen()
4704926 lp: potential buffer overruns
4705611 libprint: bsd_addr_create() should check result of malloc()
4705626 libprint: ns_cmn_kvp.c has memory issues
4705635 libprint: ns_printer_create() may not initialize memory
4705663 libprint: nss_ldap.c: unsafe use of strncpy()
4705665 libprint: nss_ldap.c: memory may not be initialized
4705910 libprint: job.c: makes unsafe use of open(O_CREAT)
4705915 libprint: job.c: doesn't check *alloc() results
4705933 libprint: misc.c: unsafe use of cftime()
4705937 libprint: misc.c: unchecked *alloc() result
4705943 cancel: unchecked memory allocation
4705950 usr/src/cmd/lp/model/netpr/misc.c vsprintf to fixed buffer
4705957 lpstat: extraneous chdir, unchecked *alloc()
4705959 lpset: uncheck *alloc() returns
4705977 lp: calls tempnam()
4706351 lpadmin: no warning when creating printer on user-owned symlink
4734301 lp system fails POSIX VSC tests
4751570 lpc generates core dump in Solaris 8 2/02
4761791 default timeout in netpr should be initialized
4775108 lp error when file is NFS-mounted and containing directory is 700
4809082 lpsched: R_INQUIRE_REQUEST_RANK does not include requests submitted to classes
4819203 Solaris printmgr generates warning with compile with javac 1.4.2
4930119 network printer timeout does not reset on fault clearance
4940032 Solaris should support IPP clients (LSARC/2001/259)
4981362 Java 1.5 and printmgr problems
5025203 Solaris printing needs RIP functionality (on)
 
(from 114980-08)
 
        Respin due to missing binary.
 
(from 114980-07)
 
4915855 printmgr cannot admin print queues stored in an LDAP nameservice
 
(from 114980-06)
 
4809690 submitted print jobs don't seem to disappear after printing
 
(from 114980-05)
 
4697460 hanging printd should not block all printjobs to remote
 
(from 114980-04)
 
4927784 special patch needed for BugId's 4902916 and 4648825
 
(from 114980-03)
 
4925015	pullback of bugfix 4648825 took fixes 4761753 4714952 4705911 4705899 4704812 with it
 
(from 114980-02)
 
4648825 Printer Management profile in exec_attr file is ineffective
4704812 lpstat: cftime() is deprecated in favor of strftime()
4705899 libprint: nss_write.c uses fopen() to create temp file
4705911 lib/print/job.c: makes unsafe use of access()
4714952 bsd-gw gives "dfAnnnhostname file exists" from a previous job
4761753 filedescriptor "fd" is not closed in job_retrieve()
 
(from 114980-01)
 
4704824 lpstat: potential buffer overrun
 
(from 115883-01)
 
4902916 cancel cmd does not work well with RBAC Printer Management
 
(from 116240-01)
 
4705948 conv_fix: unsafe use of fopen()
4705947 conv_fix: should use strlcat


Patch Installation Instructions:
--------------------------------
 
Please refer to the man pages for instructions on using 'patchadd'
and 'patchrm' commands provided with Solaris.
 
The following example installs a patch to a standalone machine:
 
       example# patchadd /var/spool/patch/123456-07
 
The following example removes a patch from a standalone system:
 
       example# patchrm 123456-07
 
For additional examples please see the appropriate man pages. Any
other special or non-generic installation instructions should be
described below as special instructions.


Special Install Instructions:
-----------------------------
 
NOTE 1:  After Patch installation, the lpsched daemon should be stopped
         and restarted.
 
         As root:
                /etc/init.d/lp stop
                /etc/init.d/lp start
 
NOTE 2:  To get the complete fix for BugId 6539516 (applications compiled
         with -lldap on Solaris 8 core dumps on Solaris 9-10 releases),
         please also install the following patch:
 
         114242-47 (or greater)  ldap library patch
 
NOTE 3:  To get the complete fix for BugID 6750206 (dtlogin core dumps
         on Solaris 9 with 112960-62 or 112960-63 patches), please also
         install the following patch:
 
         114242-50 (or greater)  ldap library patch


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