C and AWK questions

gwyn at BRL-VLD.ARPA gwyn at BRL-VLD.ARPA
Wed Aug 15 01:07:01 AEST 1984

From:      Doug Gwyn (VLD/VMB) <gwyn at BRL-VLD.ARPA>

There is a bug in the realloc routine through UNIX System III.
There are some other subtler bugs in all mallocs through UNIX
System V Release 1.  My advice is to find a working malloc and
substitute it for the one in your C library.

Most versions of malloc can be conditionally recompiled to
produce a fairly strict checking version for debugging.  This
will usually abort with a core dump as soon as something goes
wrong with malloc-controlled storage.

More information about the Comp.lang.c mailing list