Patch-ID# 101670-02
Keywords: nawk, memory, leak, script
Synopsis: SunOS 4.1.2 4.1.3: nawk memory leak
Date: Apr/25/94

Solaris Release: 1.1

SunOS Release: 4.1.2 4.1.3 4.1.3C

              (NOTE: this is expected to be a low-demand patch and has
               been built only for 4.1.2 and 4.1.3.  It should work as
               is for 4.1.3_U1, but a separate 4.1.3_U1 patch should be
               built if there is any demand.)

Unbundled Product: 

Unbundled Release: 

Relevant Architectures: sparc
    NOTE: sun4 (all)

BugId's fixed with this patch: 1154306

Changes incorporated in this version: Added 4.1.2 support.

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: nawk

Problem Description: 

   1154306  SunOS 4.x nawk leaks memory when patterns containing a list of
            characters in square brackets ([]) are used.

Patch Installation Instructions: 

   1) Login as root.

   2) Make a backup copy of the old file:
	mv /usr/bin/nawk /usr/bin/nawk.fcs

   3) Copy in the patched file:
	cp `uname -r`/nawk /usr/bin/nawk

   4) Set ownership & permissions:
	chown root /usr/bin/nawk
	chgrp staff /usr/bin/nawk
	chmod 755 /usr/bin/nawk
