Re: Heap corruption in putenv (Was: JIT crash on simple while-loop [MSVC])

2013-02-13 Thread Paul Eggert
On 02/13/2013 06:54 PM, Michael Goffioul wrote: > what would be the correct fix? Does the following fix things? Totally untested; I don't use MSVC. diff --git a/lib/putenv.c b/lib/putenv.c index 5f0feda..5108f41 100644 --- a/lib/putenv.c +++ b/lib/putenv.c @@ -115,6 +115,38 @@ putenv (char *stri

Heap corruption in putenv (Was: JIT crash on simple while-loop [MSVC])

2013-02-13 Thread Michael Goffioul
On Wed, Feb 13, 2013 at 12:35 PM, Michael Goffioul < michael.goffi...@gmail.com> wrote: > > > On Tue, Feb 12, 2013 at 11:34 PM, Max Brister wrote: > >> On Mon, Feb 11, 2013 at 7:47 PM, Michael Goffioul >> wrote: >> > Hi Max, >> > >> > Today I recompiled the default branch with MSVC, and although