[comp.lang.c] Dynamic Memory Allocation Problems?

sarima@gryphon.CTS.COM (Stan Friesen) (04/04/88)

	I am having my own problems with a program using dynamic memory
allocation. The problem is very strange. The program passes lint, and compiles
and executes correctly on a M68000 based UNIX box, but when I compile it using
the Lattice C compiler on my XT-clone and attempt to run it, it scribbles all
over the screen and crashes DOS. I have carefully checked all my subscripting,
at least as far as possible. Any ideas?
	Oh, by the way, the program also uses floating point extensively. I
rather suspect the problem may be there rather than with the malloc(). But
then I really don't know.