Path: utzoo!censor!comspec!sclcig!sfo From: sfo@sclcig.uucp (Steve) Newsgroups: comp.lang.c++ Subject: Re: Zortech Problem: heap corrupted Message-ID: <1990Aug3.112737.12807@sclcig.uucp> Date: 3 Aug 90 11:27:37 GMT References: <2353@laura.UUCP> Sender: sclcig!sfo Organization: Southam Business Information & Communications Group Lines: 11 The Zortech heap manager puts some sanity check information in each block allocated by malloc()/calloc(). Each time you allocate or free memory, the heap manager check to see if this information has been modified. If so, then you get the heap corrupted message. In my case, I allocated space for a string and forgot to allocate space for the NUL byte. You may want to look for something similar. Note that the code corrupting the heap may be unrelated to the code that manipulates the heap.