This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Avoid deadlock in malloc on backtrace


On 02/24/2015 06:51 PM, Paul Eggert wrote:

> But really, we shouldn't have to modify applications to work around this
> problem, and the problem should be fixed in glibc.  'backtrace'
> shouldn't require 'malloc' to work, as we want 'backtrace' to get a
> backtrace as reliably as possible even when part of memory is corrupted.

That's simply not possible with an in-process backtrace.  As I already
said, I think it is a bad idea to continue running after detecting a
security violation.  The idea that it's somehow possible to recover from
stack or heap corruption is fundamentally flawed.

-- 
Florian Weimer / Red Hat Product Security


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]