aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2011-07-28 14:37:15 -0700
committerPaul Eggert2011-07-28 14:37:15 -0700
commitc9f8d652ab67b148cd0a1cb375b0e51e673c4094 (patch)
tree28db7746cd8179674ff925067cfde9e38a822799 /src/ChangeLog
parent3d0c92a26bb73fdc542e4d9e467b31fd0ad02417 (diff)
downloademacs-c9f8d652ab67b148cd0a1cb375b0e51e673c4094.tar.gz
emacs-c9f8d652ab67b148cd0a1cb375b0e51e673c4094.zip
* editfns.c: Integer and memory overflow fixes.
(set_time_zone_rule): Don't assume environment length fits in int. (message_length): Now ptrdiff_t, not int. (Fmessage_box): Don't update size until allocation succeeds. Don't assume message length fits in int. (Fformat): Use ptrdiff_t, not EMACS_INT, where ptrdiff_t will do.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 6cf9a1f8622..b823dd54498 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,12 @@
12011-07-28 Paul Eggert <eggert@cs.ucla.edu> 12011-07-28 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * editfns.c: Integer and memory overflow fixes.
4 (set_time_zone_rule): Don't assume environment length fits in int.
5 (message_length): Now ptrdiff_t, not int.
6 (Fmessage_box): Don't update size until allocation succeeds.
7 Don't assume message length fits in int.
8 (Fformat): Use ptrdiff_t, not EMACS_INT, where ptrdiff_t will do.
9
3 * doc.c: Integer and memory overflow fixes. 10 * doc.c: Integer and memory overflow fixes.
4 (get_doc_string_buffer_size): Now ptrdiff_t, not int. 11 (get_doc_string_buffer_size): Now ptrdiff_t, not int.
5 (get_doc_string): Check for size calculation overflow. 12 (get_doc_string): Check for size calculation overflow.