Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2001 15:10:01 -0800 (PST)
From:      Tor.Egge@cvsup.no.freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/31533: /bin/sh memory leak (fwd)
Message-ID:  <200111072310.fA7NA1I10567@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/31533; it has been noted by GNATS.

From: Tor.Egge@cvsup.no.freebsd.org
To: maxim@macomnet.ru
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: bin/31533: /bin/sh memory leak (fwd)
Date: Wed, 07 Nov 2001 23:03:26 GMT

 >  PWD and OLDPWD variables are not statical ones and should be
 >  reallocated every time when changed.
 
 I introduced this leak in revision 1.18 of cd.c while fixing a
 different problem (cf. PR 2541).  I've commited your suggested fix to
 -current and will MFC it to RELENG_4 in a few days.
 
 - Tor Egge

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111072310.fA7NA1I10567>