aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2011-07-28 13:28:33 -0700
committerPaul Eggert2011-07-28 13:28:33 -0700
commit6e1fc4528b8dcb84ba7d173f6c350cfba5385634 (patch)
tree26c7a743d214aa54860fb62a689ba311d7ffc646 /src/ChangeLog
parentbc18e09ddf639fbd59e6d2ef238fdaf4e31fb6a3 (diff)
downloademacs-6e1fc4528b8dcb84ba7d173f6c350cfba5385634.tar.gz
emacs-6e1fc4528b8dcb84ba7d173f6c350cfba5385634.zip
* buffer.c: Memory overflow fixes.
(overlays_at, overlays_in, record_overlay_string, overlay_strings): Don't update size of array until after memory allocation succeeds, because xmalloc/xrealloc may not return.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 0d5b41ea205..ff5dfc09330 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,10 @@
12011-07-28 Paul Eggert <eggert@cs.ucla.edu> 12011-07-28 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * buffer.c: Memory overflow fixes.
4 (overlays_at, overlays_in, record_overlay_string, overlay_strings):
5 Don't update size of array until after memory allocation succeeds,
6 because xmalloc/xrealloc may not return.
7
3 * bidi.c: Integer overflow fix. 8 * bidi.c: Integer overflow fix.
4 (bidi_shelve_header_size): New constant. 9 (bidi_shelve_header_size): New constant.
5 (bidi_cache_ensure_space, bidi_shelve_cache): Use it. 10 (bidi_cache_ensure_space, bidi_shelve_cache): Use it.