diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2014-01-18 21:22:11 -0800 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2014-01-18 21:22:11 -0800 |
commit | 23f98c3e1d4792e32c616e1f73c383988bd86a9c (patch) | |
tree | da55e3ad35ab3f47b0c52d8341919939a57ffa0c /ChangeLog | |
parent | 1584318b97affe0a38f1b71233eaaa3a7076dae1 (diff) | |
download | zsh-23f98c3e1d4792e32c616e1f73c383988bd86a9c.tar.gz zsh-23f98c3e1d4792e32c616e1f73c383988bd86a9c.tar.xz zsh-23f98c3e1d4792e32c616e1f73c383988bd86a9c.zip |
32285: restart the fheap search in freeheap if the current fheap arena is about to be discarded; fixes crash
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 23c5aa68f..96a95ea77 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2014-01-18 Barton E. Schaefer <schaefer@zsh.org> + * 32285: Src/mem.c (freeheap): when the last-arena-with-free-space + pointer (fheap) points to an arena that is going to be discarded + because it has become empty, loop back through the entire linked + list of arenas to find another partly-filled arena; fixes crash + wherein pushheap followed by freeheap could orphan the whole list + of arenas in some circumstances + * 32283: Src/Zle/complist.c: avoid using a negative number for available vertical space when the terminal has only a small number of lines; fixes crash in menu selection |