httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe Jr." <>
Subject Re: rational behind not checking the return value of apr_palloc and apr_pcalloc
Date Thu, 02 Sep 2010 03:29:40 GMT
On 9/1/2010 10:17 PM, dave b wrote:
> Why not just fix it now and not worry? ...

It will help if you can provide a specific use case for graceful failure.

A segfault/dereference of NULL pointer provides a very specific exception
for this general case, and 'recovers' neatly from a process which has simply
consumed far too much memory.  There are very few alloc exceptions which are
recoverable a multi-client application.

But if you can illustrate a few, the community is happy to evaluate your
examples, which is what Jeff has politely suggested to you.

View raw message