Re: [Flightgear-devel] Memory corruption in Nasal with MSVC

2008-11-25 Thread Frederic Bouvier
- "Andy Ross" a écrit : > Frederic Bouvier wrote: > > I get memory corruption caused by writing outside an malloc'ated > memory > > bloc. I tracked the problem down to the recsize() function ( in > hash.c ) > > computing a memory size that is not enough for subsequent > initialization > > in re

Re: [Flightgear-devel] Memory corruption in Nasal with MSVC

2008-11-25 Thread Andy Ross
Frederic Bouvier wrote: > I get memory corruption caused by writing outside an malloc'ated memory > bloc. I tracked the problem down to the recsize() function ( in hash.c ) > computing a memory size that is not enough for subsequent initialization > in resize() Wow, good catch. This was also repo

[Flightgear-devel] Memory corruption in Nasal with MSVC

2008-11-23 Thread Frederic Bouvier
Hi Andy, I get memory corruption caused by writing outside an malloc'ated memory bloc. I tracked the problem down to the recsize() function ( in hash.c ) computing a memory size that is not enough for subsequent initialization in resize() ( also in hash.c ). I think the problem lies in the fact t