Backtrace after malloc arena is corrupted
commitb74db6347cf5cac1ebd4c604fd5691c588fd8e32
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 25 Feb 2015 00:34:13 +0000 (24 16:34 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 25 Feb 2015 00:35:03 +0000 (24 16:35 -0800)
treedeb27634521d10950819b8ae4fec445848df6f6c
parent0c4f73a09d9069824911420f0205da0dd90c1504
Backtrace after malloc arena is corrupted

Without this change, if the malloc arena is corrupted and then
'backtrace' is called, the backtrace can crash because 'backtrace'
calls 'malloc'.  For more, please see:
https://sourceware.org/ml/libc-alpha/2015-02/msg00678.html
* emacs.c (main): Initialize tables used by 'backtrace'.
* sysdep.c (emacs_backtrace): Document the newly used part of the API.
src/ChangeLog
src/emacs.c
src/sysdep.c