https://issues.apache.org/bugzilla/show_bug.cgi?id=45405


rahul <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #22271|0                           |1
        is obsolete|                            |




--- Comment #5 from rahul <[EMAIL PROTECTED]>  2008-07-18 02:25:30 PST ---
Created an attachment (id=22278)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22278)
Updated patch correcting the mistakes :)

>"apr_pcalloc(p, sizeof(proxy_bind_addr))"
>Do we know that this will never return NULL (i.e. "out of memory")?
-The pool will call abort_fn (system abort set in main.c unless overridden)
before returning null. This and the fact that we are allocating memory during
configuration reading phase (i.e the pool is from conf rather than a custom
pool) assures us that apache will exit rather than give us null for this pool.

>Allocated memory is zeroed. 
-apr_pcalloc is just defined as apr_palloc + memset in apr_pools.h


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to