Idea! Memory system with overrun check

From: Chris Jacobson (fear@ATHENET.NET)
Date: 12/03/97


I just had an idea... using the memory system I wrote, one could write a
special function to automatically append 1 byte to all memory allocated,
and set that to a magic number.  Then when freeing, if the magic number
is inconsistent, you know you have a memory overrun!  I'll look into
doing it.  Shouldn't be too hard.

- Chris Jacobson


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST