[PATCH][RFC] Make malloc routines use mmap if heap is corrupt
Siddhesh Poyarekar
spoyarek@redhat.com
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:
http://sourceware.org/glibc/wiki/HomePage#Contributing
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:
http://sourceware.org/glibc/wiki/Contribution%20checklist
Should I add the missing ChangeLog (and follow the rest of the
checklist too) and post here or directly on libc-alpha?
Thanks,
Siddhesh
More information about the Libc-help
mailing list