[PATCH] Do not print backtraces on fatal glibc errors
Dmitry V. Levin
ldv@altlinux.org
Fri Aug 16 21:56:00 GMT 2019
On Thu, Aug 15, 2019 at 10:00:21PM +0200, Florian Weimer wrote:
> If the process is in a bad state, we used to print backtraces in
> many cases. This is problematic because doing so could involve
> a lot of work, like loading libgcc_s using the dynamic linker,
> and this could itself be targeted by exploit writers. For example,
> if the crashing process was forked from a long-lived process, the
> addresses in the error message could be used to bypass ASLR.
>
> This commit completes the removal of backtrace printing from glibc.
> With the prevalence of external crash handlers, this functionality
> does not appear to be particular useful. The crash handler may also
> destroy useful information for debugging if coredumps are enabled.
s/particular useful/particularly useful/
--
ldv
More information about the Libc-alpha
mailing list