[PATCH][RFC] Make malloc routines use mmap if heap is corrupt
Tue Sep 27 14:07:00 GMT 2011
On Tue, Sep 27, 2011 at 03:53:14PM +0200, Marek Polacek wrote:
> On 09/27/2011 03:45 PM, Siddhesh Poyarekar wrote:
> > If the heap is found to be corrupt, the default action currently is to
> > print a backtrace, the memory map and then abort(). If the arena lock
> > has been held during this time, this can result in a deadlock since
> > __backtrace calls routines in the loader that may result in malloc
> > calls.
> I think this should go to libc-alpha. Also there's missing CL entry.
Thanks, I got from this:
that I need to first send my patch here for initial review and if it
is fine, post to libc-alpha after formatting according to:
Should I add the missing ChangeLog (and follow the rest of the
checklist too) and post here or directly on libc-alpha?
More information about the Libc-help