Patch Name: PHCO_22503 Patch Description: s700_800 10.01 df(1M) cumulative patch Creation Date: 00/10/17 Post Date: 00/10/19 Hardware Platforms - OS Releases: s700: 10.01 s800: 10.01 Products: N/A Filesets: OS-Core.UX-CORE Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_22503 Symptoms: PHCO_22503: Program abort. PHCO_13980: This patch allows df to display input for very long file/path names. For example, if a file system is mounted on /usr/TST90123456789012345678901234567890, executing 'df' will properly display it. However, if you 'cd /usr' and do df TST90123456789012345678901234567890 df will fail with: df:open of /usr/TST901234567890123456789012 failed. Defect Description: PHCO_22503: Buffer overflow. Resolution: Modify df(1m) to check the length of the buffer. PHCO_13980: The df command was relying on the 'f_fstr' value returned from statvfs to determine the mount point. This value is not reliable since it is limited to 32 chars, and is not necessarily the mount point since it is simply a 'file system specific string'. A new method has been added to correctly identify the file system mount point. SR: 8606152609 1653247296 Patch Files: /usr/bin/df what(1) Output: /usr/bin/df: $Revision: 74.2.1.2 $ $Revision: 74.3.2.2 $ PATCH_10_01: df.o extents.o hpux_rel.o 00/10/17 cksum(1) Output: 953339065 45217 /usr/bin/df Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_13980 Equivalent Patches: PHCO_22276: s700: 11.00 s800: 11.00 PHCO_22275: s700: 10.20 s800: 10.20 PHCO_22504: s700: 10.10 s800: 10.10 Patch Package Size: 100 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHCO_22503 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_22503.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHCO_22503. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. WARNING: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHCO_22503.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_22503.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None