DWB tbl bug!! HELP

Cameron Davidson probe at mm730.uq.OZ
Wed Feb 5 14:15:46 AEST 1986


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);



More information about the Net.bugs mailing list