[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 188572] Valgrind on Mac should suppress setenv() mem leak
From:       Nicholas Nethercote <njn () valgrind ! org>
Date:       2009-03-31 23:36:22
Message-ID: 20090331233622.490FB16169 () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=188572


Nicholas Nethercote <njn@valgrind.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |njn@valgrind.org




--- Comment #1 from Nicholas Nethercote <njn valgrind org>  2009-04-01 01:36:19 ---
For reference, here's the relevant section from the man page:

BUGS
     Successive calls to setenv() or putenv() assigning a differently sized
     value to the same name will result in a memory leak.  The FreeBSD seman-
     tics for these functions (namely, that the contents of value are copied
     and that old values remain accessible indefinitely) make this bug
     unavoidable.  Future versions may eliminate one or both of these semantic
     guarantees in order to fix the bug.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic