diff options
| author | Eli Zaretskii | 2014-03-03 18:46:36 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2014-03-03 18:46:36 +0200 |
| commit | bd650c24205a7a06f2786ad2226ed7cc19dbd69e (patch) | |
| tree | 4418f83f07b9be9bee587333c7422100af9f0bed /src/ChangeLog | |
| parent | 19dae293f9fecea07c91440f0a33076c54d39b49 (diff) | |
| download | emacs-bd650c24205a7a06f2786ad2226ed7cc19dbd69e.tar.gz emacs-bd650c24205a7a06f2786ad2226ed7cc19dbd69e.zip | |
Fix crashes in lisp_align_free in a build with GC_MCHECK.
src/gmalloc.c (aligned_alloc): Fix adjustment of size of the
allocated buffer due to alignment.
(freehook): If the block to be freed was allocated by
'aligned_alloc', find its real pointer before calling 'free'.
(mabort) [emacs]: Call 'emacs_abort', not 'abort', to provide a
backtrace.
Fixes: debbugs:16901
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 7bc69b2894e..ecf8503117c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2014-03-03 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * gmalloc.c (aligned_alloc): Fix adjustment of size of the | ||
| 4 | allocated buffer due to alignment. | ||
| 5 | (freehook): If the block to be freed was allocated by | ||
| 6 | 'aligned_alloc', find its real pointer before calling 'free'. | ||
| 7 | (Bug#16901) | ||
| 8 | (mabort) [emacs]: Call 'emacs_abort', not 'abort', to provide a | ||
| 9 | backtrace. | ||
| 10 | |||
| 1 | 2014-03-03 Dmitry Antipov <dmantipov@yandex.ru> | 11 | 2014-03-03 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 12 | ||
| 3 | * font.c (toplevel): Adjust comment about font cache layout. | 13 | * font.c (toplevel): Adjust comment about font cache layout. |