Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site umcp-cs.UUCP Path: utzoo!watmath!clyde!burl!mgnetp!ihnp4!zehntel!hplabs!hao!seismo!rlgvax!cvl!umcp-cs!chris From: chris@umcp-cs.UUCP Newsgroups: net.lang.c Subject: Re: C and AWK questions Message-ID: <8109@umcp-cs.UUCP> Date: Tue, 14-Aug-84 23:41:18 EDT Article-I.D.: umcp-cs.8109 Posted: Tue Aug 14 23:41:18 1984 Date-Received: Sat, 18-Aug-84 00:38:07 EDT References: <134@chemabs> Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 15 The 4.2BSD malloc has (if what I've been told is correct) a range checking option that will cause ``free'' and ``realloc'' to abort if the area allocated has been overflowed. I've never seen a version of malloc & friends that allows one to insert calls to malloc-checking routine as desired, although it shouldn't be too hard to write. If anyone is interested, I have a modified version of the CalTech power-of-two malloc (the same one as used in 4.2BSD) with range checking which works properly even on Pyramids, which I could probably post. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci (301) 454-7690 UUCP: {seismo,allegra,brl-bmd}!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@maryland