apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Trawick" <traw...@gmail.com>
Subject Re: Memory allocation checks. Veri big impact to stablility
Date Fri, 24 Mar 2006 11:18:52 GMT
On 3/23/06, Konstantin Sharenkov <Konstantin.Sharenkov@enterra-inc.com> wrote:
>
> If I understand everything correctly the function apr_palloc and apr_pcalloc
> can return NULL as result if there is no more memory available.

if no abort function is registered

> These functions are widely being used within library but a lot of times
> result of these functions not being checked

when creating the pool, specify an abort function; see doc for
apr_pool_create_ex()

Mime
View raw message