[comp.lang.c] Turbo C 2.0/memory allocation

mad-2@kub.nl (C. Wekx) (01/16/91)

 
Yo Folks,
 
 
I discovered that the value of an automatic variable of a certain function was
overwritten. I discovered that the address of the automatic variable was within
the range of a dynamically allocated area of memory (using farmalloc). I have
checked fo a NULL return value of farmalloc and also verified (with
farcoreleft) that the amount of memory was reduced by the correct amount. I
have also verified that no array was used beyond its limits and that there is
no mismatch in function arguments or return values. There is also too much
memory left to expect a stack/heap collision. Anybody got any answers? Thanks
in advance.
 
 
 
				Joris
 
P.S.: Oh, and I didn't (far)free any memory either....