[Y-devel] Patches, patches, patches
Phil phil at www.y-windows.org
Sun Feb 6 20:54:41 GMT 2005
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
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved