aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2011-07-28 18:22:19 -0700
committerPaul Eggert2011-07-28 18:22:19 -0700
commitfee31f82d5279a6faeb2d4cef808e9d7fce2f210 (patch)
tree1bcce2fe8f01c58d4cd8958629254b894d622371 /src/ChangeLog
parentfe6442b1151a0f4021181e968479459f50df63f1 (diff)
downloademacs-fee31f82d5279a6faeb2d4cef808e9d7fce2f210.tar.gz
emacs-fee31f82d5279a6faeb2d4cef808e9d7fce2f210.zip
* term.c: Integer and memory overflow issues.
(max_frame_lines): Remove; unused. (encode_terminal_src_size, encode_terminal_dst_size): Now ptrdiff_t, not int. (encode_terminal_code, calculate_costs): Check for size calculation overflow. (encode_terminal_code): Use ptrdiff_t, not int, to record glyph table lengths and related sizes. Don't update size until alloc done. Redo calculations to avoid overflow. (calculate_costs): Don't bother calling xmalloc when xrealloc will do.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d1db5e48daf..7485afb00f4 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,16 @@
12011-07-29 Paul Eggert <eggert@cs.ucla.edu> 12011-07-29 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * term.c: Integer and memory overflow issues.
4 (max_frame_lines): Remove; unused.
5 (encode_terminal_src_size, encode_terminal_dst_size): Now ptrdiff_t,
6 not int.
7 (encode_terminal_code, calculate_costs): Check for size
8 calculation overflow.
9 (encode_terminal_code): Use ptrdiff_t, not int, to record glyph
10 table lengths and related sizes. Don't update size until alloc
11 done. Redo calculations to avoid overflow.
12 (calculate_costs): Don't bother calling xmalloc when xrealloc will do.
13
3 * sysdep.c: Integer and memory overflow issues. 14 * sysdep.c: Integer and memory overflow issues.
4 (system_process_attributes): Use ptrdiff_t, not int, for command 15 (system_process_attributes): Use ptrdiff_t, not int, for command
5 line length. Do not attempt to address one before the beginning 16 line length. Do not attempt to address one before the beginning