diff options
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 09426cfbf99..02d7871e884 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,17 @@ | |||
| 1 | 2014-09-23 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Fix SAFE_ALLOCA to not exhaust the stack when in a loop. | ||
| 4 | Problem reported by Dmietry Antipov in thread leading to: | ||
| 5 | http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00713.html | ||
| 6 | This patch fixes only SAFE_ALLOCA, SAFE_NALLOCA, and SAFE_ALLOCA_LISP; | ||
| 7 | the experimental local_* macros enabled by USE_LOCAL_ALLOCATORS | ||
| 8 | remain unfixed. | ||
| 9 | * callproc.c (call_process): Save and restore sa_avail. | ||
| 10 | * lisp.h (USE_SAFE_ALLOCA): Define sa_avail. | ||
| 11 | (AVAIL_ALLOCA): New macro. | ||
| 12 | (SAFE_ALLOCA, SAFE_NALLOCA, SAFE_ALLOCA_LISP): | ||
| 13 | Use it, and check against sa_avail rather than MAX_ALLOCA. | ||
| 14 | |||
| 1 | 2014-09-22 Dmitry Antipov <dmantipov@yandex.ru> | 15 | 2014-09-22 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 16 | ||
| 3 | On OSX, do not free font-specific data more than once (Bug#18501). | 17 | On OSX, do not free font-specific data more than once (Bug#18501). |