Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!petrus!scherzo!allegra!mit-eddie!think!harvard!seismo!munnari!basser!uqcspe!mm730!probe From: probe@mm730.uq.OZ (Cameron Davidson) Newsgroups: net.text,net.bugs Subject: Re: DWB tbl bug!! HELP Message-ID: <122@mm730.uq.OZ> Date: Tue, 4-Feb-86 23:15:46 EST Article-I.D.: mm730.122 Posted: Tue Feb 4 23:15:46 1986 Date-Received: Sun, 9-Feb-86 07:49:57 EST References: <98@calgary.UUCP> <121@mm730.uq.OZ> Distribution: net Organization: Mining&Metal. Eng; Univ of Qld; Brisbane; Aus Lines: 10 Xref: watmath net.text:928 net.bugs:741 Summary: OOPS - the real fix is... Well, the change I made worked with my first test file but bombed out when I compiled without -g. The real bug is more obvious, however. The offending line was actually the next one: incrementing the pointer returned by calloc and then later trying to call cfree() with the incremented value is guaranteed to not do what you want (erratically). The line in freearr() which reads: cfree(sep); should be: cfree(--sep);