Patch-ID# 100203-01 Keywords: INGRES, fcvt, fconvert Synopsis: SunOS 4.1.1: fcvt() causes segmentation fault with INGRES databases Date: 16/Jan/91 SunOS release: 4.1.1 Unbundled Product: libc Unbundled Release: Topic: INGRES database segment faults via fcvt() BugId's fixed with this patch: 1050040 Architectures for which this patch is available: sun3, sun4 Patches which may conflict with this patch: Obsoleted by: Problem Description: fcvt() allocates too small a buffer under SunOS 4.1.1 causing for loops in the source to not terminate properly. Full replacement libraries are included in this patch. INSTALL: Sun3 Installations: This directory contains the following files associated with the patch for bug# 1044496: -rwxr-xr-x 1 root 483328 Nov 14 12:14 ./5lib/libc.so.1.15.1 -rw-r--r-- 1 root 570586 Nov 14 11:58 ./5lib/libc.a -rwxr-xr-x 1 root 483328 Nov 14 12:04 ./lib/libc.so.0.15.1 -rw-r--r-- 1 root 566256 Nov 14 11:55 ./lib/libc.a -rw-r--r-- 1 root 628056 Nov 14 12:07 ./lib/shlib.etc/libc_pic.a -rw-r--r-- 1 root 632862 Nov 14 12:06 ./lib/shlib.etc/libcs5_pic.a To install this patch on a Sun 3 machine running SunOS 4.1.1: 1) become root # su 2) save original static library # mv /usr/lib/libc.a /usr/lib/libc.a.orig 3) Use move (mv) since it is a statically linked binary to move new shared & static libs. # mv /sun3/lib/libc* /usr/lib # ranlib /usr/lib/libc.a If System-V environment is installed : 4) save original static library # mv /usr/5lib/libc.a /usr/5lib/libc.a 5) copy new shared & static libs # cp /sun3/5lib/libc* /usr/5lib # ranlib /usr/5lib/libc.a 6) Let the system know there are new dynamic libraries # ldconfig If you have loaded the "Shlib_Custom" software package from the SunOS 4.1.1 installation media and you intend to build custom shared C libraries : 7) save original PIC archives # mv /usr/lib/shlib.etc/libc_pic.a /usr/lib/shlib.etc/libc_pic.a.orig # mv /usr/lib/shlib.etc/libcs5_pic.a /usr/lib/shlib.etc/libcs5_pic.a.orig 8) copy new shared & static libs # cp /sun3/lib/shlib.etc/libc* /usr/lib/shlib.etc # ranlib /usr/lib/shlib.etc/libc_pic.a # ranlib /usr/lib/shlib.etc/libcs5_pic.a 9) installation is complete To install this patch on a Sun 4 machine running SunOS 4.1.1: Files: -rwxr-xr-x 1 root 516096 Nov 1 14:45 ./5lib/libc.so.2.6.1 -rw-r--r-- 1 root 663254 Nov 1 14:54 ./5lib/libc.a -rwxr-xr-x 1 root 516096 Nov 1 14:44 ./lib/libc.so.1.6.1 -rw-r--r-- 1 root 658148 Nov 1 14:52 ./lib/libc.a -rw-r--r-- 1 root 686192 Nov 1 15:07 ./lib/shlib.etc/libc_pic.a -rw-r--r-- 1 root 691628 Nov 1 15:08 ./lib/shlib.etc/libcs5_pic.a 1) become root # su 2) save original static library # mv /usr/lib/libc.a /usr/lib/libc.a.orig 3) Use move (mv) since it is a statically linked binary to move new shared & static libs. # mv /sun4/lib/libc* /usr/lib # ranlib /usr/lib/libc.a If System-V environment is installed : 4) save original static library # mv /usr/5lib/libc.a /usr/5lib/libc.a 5) copy new shared & static libs # cp /sun4/5lib/libc* /usr/5lib # ranlib /usr/5lib/libc.a 6) Let the system know there are new dynamic libraries # ldconfig If you have loaded the "Shlib_Custom" software package from the SunOS 4.1.1 installation media and you intend to build custom shared C libraries : 7) save original PIC archives # mv /usr/lib/shlib.etc/libc_pic.a /usr/lib/shlib.etc/libc_pic.a.orig # mv /usr/lib/shlib.etc/libcs5_pic.a /usr/lib/shlib.etc/libcs5_pic.a.orig 8) copy new shared & static libs # cp /sun4/lib/shlib.etc/libc* /usr/lib/shlib.etc # ranlib /usr/lib/shlib.etc/libc_pic.a # ranlib /usr/lib/shlib.etc/libcs5_pic.a 9) installation is complete