Re: Patches, patches, patches

Phil <[email protected]> Sun, 06 Feb 2005 20:54:41 +0000
Newsgroups gmane.comp.graphics.y.devel
Message-ID <[email protected]>
Phil wrote:
> ymalloc() and yfree() will detect _some_ buffer under- and over-runs.  I
> plan to add to improve this shortly, --patch-4 should detect more
> under-run conditions.  Overrun conditions tend to be more common, so I
> felt I should release it now.

It turned out to be easier than I thought, so patch-4 is now good to go. 
  It should detect buffer under- or over-runs of as little as one byte 
(unless you're unlucky enough to write the magic number in there).

I also changed the check programs to use ymalloc() and yfree(), as this 
will allow us to trace their memory usage if there is ever a problem in 
the code they test.

This'll probably be it for a while, as I'll be too tired to do anything 
much in the week and I have plans for the weekend...

Cheers,

Phil