Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 2000 11:40:02 -0700 (PDT)
From:      David Malone <dwmalone@maths.tcd.ie>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/19406: setenv() allocates memory which is not freed by unsetenv()
Message-ID:  <200006201840.LAA91442@freefall.freebsd.org>

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

From: David Malone <dwmalone@maths.tcd.ie>
To: Phil Pennock <pdp@nl.demon.net>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: misc/19406: setenv() allocates memory which is not freed by unsetenv()
Date: Tue, 20 Jun 2000 19:36:25 +0100

 On Tue, Jun 20, 2000 at 08:28:13PM +0200, Phil Pennock wrote:
 
 > Anyone want to think how many old programs depend on some buggy aspect of the
 > memory allocation involved here?
 
 I believe this is required by some spec (probably POSIX), and has been
 discussed several times on the FreeBSD lists. I think the conclusion was
 that the current implimentation was correct. See:
 
 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=5604
 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=10341
 
 	David.
 


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?200006201840.LAA91442>