aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2011-09-04 12:18:28 -0700
committerPaul Eggert2011-09-04 12:18:28 -0700
commit6511acf2570df26e93e15283d593b8e81d217a78 (patch)
treeaac6d8ee8a8da5174a5da4917cd88361cebb74a0 /src/ChangeLog
parentfd09688b0bbd5ee8011e78a1f4e794603e27232f (diff)
parent53e9fe90811730f68c4ea246cd8dee8aa22486de (diff)
downloademacs-6511acf2570df26e93e15283d593b8e81d217a78.tar.gz
emacs-6511acf2570df26e93e15283d593b8e81d217a78.zip
Merge from trunk.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog43
1 files changed, 42 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 94ba3a040ca..9a512210497 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,4 +1,4 @@
12011-09-01 Paul Eggert <eggert@cs.ucla.edu> 12011-09-04 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 sprintf-related integer and memory overflow issues (Bug#9412). 3 sprintf-related integer and memory overflow issues (Bug#9412).
4 4
@@ -105,6 +105,47 @@
105 105
106 * xterm.h (x_check_errors): Add ATTRIBUTE_FORMAT_PRINTF. 106 * xterm.h (x_check_errors): Add ATTRIBUTE_FORMAT_PRINTF.
107 107
1082011-09-04 Paul Eggert <eggert@cs.ucla.edu>
109
110 Integer overflow fixes for scrolling, etc.
111 Without these, Emacs silently mishandles large integers sometimes.
112 For example, "C-u 4294967297 M-x recenter" was treated as if
113 it were "C-u 1 M-x recenter" on a typical 64-bit host.
114
115 * xdisp.c (try_window_id): Check Emacs fixnum range before
116 converting to 'int'.
117
118 * window.c (window_scroll_line_based, Frecenter):
119 Check that an Emacs fixnum is in range before assigning it to 'int'.
120 (Frecenter, Fmove_to_window_line): Use EMACS_INT, not int, for
121 values converted from Emacs fixnums.
122 (Frecenter): Don't wrap around a line count if it is out of 'int'
123 range; instead, treat it as an extreme value.
124 (Fset_window_configuration, compare_window_configurations):
125 Use ptrdiff_t, not int, for index that might exceed 2 GiB.
126
127 * search.c (Freplace_match): Use ptrdiff_t, not int, for indexes
128 that can exceed INT_MAX. Check that EMACS_INT value is in range
129 before assigning it to the (possibly-narrower) index.
130 (match_limit): Don't assume that a fixnum can fit in 'int'.
131
132 * print.c (print_object): Use ptrdiff_t, not int, for index that can
133 exceed INT_MAX.
134
135 * indent.c (position_indentation): Now takes ptrdiff_t, not int.
136 (Fvertical_motion): Don't wrap around LINES values that don't fit
137 in 'int'. Instead, treat them as extreme values. This is good
138 enough for windows, which can't have more than INT_MAX lines anyway.
139
1402011-09-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
141
142 * Require libxml/parser.h to avoid compilation warning.
143
144 * emacs.c (shut_down_emacs): Call xmlCleanupParser on shutdown.
145
146 * xml.c (parse_region): Don't call xmlCleanupParser after parsing,
147 since this reportedly can destroy thread storage.
148
1082011-08-30 Chong Yidong <cyd@stupidchicken.com> 1492011-08-30 Chong Yidong <cyd@stupidchicken.com>
109 150
110 * syntax.c (find_defun_start): Update all cache variables if 151 * syntax.c (find_defun_start): Update all cache variables if