[asterisk-dev] Re: [asterisk-commits] russell: branch 1.2r38288 - /branches/1.2/channels/chan_sip.c

Russell Bryant russell at digium.com
Thu Jul 27 08:23:10 MST 2006


On Thu, 2006-07-27 at 13:57 +0600, Paul Cadach wrote:
> There is possible to provide some sort of memory checks in allocation wrappers,
> like:
>   <offset>-4: Some magic data to check if allocated block is not underbounded
>   <offset>: Memory for data returned by ast_malloc()/ast_calloc() call;
>   <offset>+n: Some magic data to check if allocated block is not overwritten;

This is exactly what astmm does when you have it enabled.  :)

-- 
Russell Bryant
Software Developer
Digium, Inc.




More information about the asterisk-dev mailing list