From: Steve Hay Date: Fri, 17 Apr 2009 08:40:00 +0000 (+0100) Subject: Add reference to MS KB article describing leak in putenv() X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8d0cd07e60fc3c5cfbe27ab52b37bb52f7997330;p=p5sagit%2Fp5-mst-13.2.git Add reference to MS KB article describing leak in putenv() Subject: Re: /ext/Time-Piece/t/02core.t From: Rob May Date: Thu, 16 Apr 2009 10:32:53 +0100 Message-ID: <54bdc7510904160232m1ae4142dw3566bf27b4fd2818@mail.gmail.com> --- diff --git a/win32/win32.c b/win32/win32.c index 9154613..cef828b 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -1765,7 +1765,8 @@ win32_putenv(const char *name) * Has these advantages over putenv() & co.: * * enables us to store a truly empty value in the * environment (like in UNIX). - * * we don't have to deal with RTL globals, bugs and leaks. + * * we don't have to deal with RTL globals, bugs and leaks + * (specifically, see http://support.microsoft.com/kb/235601). * * Much faster. * Why you may want to use the RTL environment handling * (previously enabled by USE_WIN32_RTL_ENV):