aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2011-06-12 18:38:25 -0700
committerPaul Eggert2011-06-12 18:38:25 -0700
commit8fd02eb7d30a7e0e98cc863e0f3cb81a954fe8a9 (patch)
treee90fd66b1c8fd1620d65b758d541dd648fbe3bc9 /src/ChangeLog
parentf8c86b69a8489f33709de6b869be369a34d5adb0 (diff)
downloademacs-8fd02eb7d30a7e0e98cc863e0f3cb81a954fe8a9.tar.gz
emacs-8fd02eb7d30a7e0e98cc863e0f3cb81a954fe8a9.zip
* chartab.c (Fchar_table_range): Use CHARACTERP to check range.
Otherwise, an out-of-range integer could cause undefined behavior on a 64-bit host.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 8f98b251234..db01d9f291f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
12011-06-13 Paul Eggert <eggert@cs.ucla.edu> 12011-06-13 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * chartab.c (Fchar_table_range): Use CHARACTERP to check range.
4 Otherwise, an out-of-range integer could cause undefined behavior
5 on a 64-bit host.
6
3 * composite.c: Use int, not EMACS_INT, for characters. 7 * composite.c: Use int, not EMACS_INT, for characters.
4 (fill_gstring_body, composition_compute_stop_pos): Use int, not 8 (fill_gstring_body, composition_compute_stop_pos): Use int, not
5 EMACS_INT, for values that are known to be in character range. 9 EMACS_INT, for values that are known to be in character range.