diff options
| author | Paul Eggert | 2011-06-20 18:21:44 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-06-20 18:21:44 -0700 |
| commit | 4eab31dd61e80ac5b38b964c91577e0c855e1432 (patch) | |
| tree | d471e0b381abd668de51d86cb6f8c85dd07b4ea6 /src/ChangeLog | |
| parent | 25c7e41fc6c1af7ab718abb7dee7964bafe2e17a (diff) | |
| download | emacs-4eab31dd61e80ac5b38b964c91577e0c855e1432.tar.gz emacs-4eab31dd61e80ac5b38b964c91577e0c855e1432.zip | |
* xdisp.c (message_log_check_duplicate): Return intmax_t,
not unsigned long, as we prefer signed integers. All callers changed.
Detect integer overflow in repeat count.
(message_dolog): Don't assume print length fits in 39 bytes.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 210f4f6bd60..bcff6fd0831 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2011-06-21 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-06-21 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * xdisp.c (message_log_check_duplicate): Return intmax_t, | ||
| 4 | not unsigned long, as we prefer signed integers. All callers changed. | ||
| 5 | Detect integer overflow in repeat count. | ||
| 6 | (message_dolog): Don't assume print length fits in 39 bytes. | ||
| 7 | |||
| 3 | * termcap.c: Don't assume sizes fit in int and never overflow. | 8 | * termcap.c: Don't assume sizes fit in int and never overflow. |
| 4 | (struct termcap_buffer, tgetent): Use ptrdiff_t, not int, for sizes. | 9 | (struct termcap_buffer, tgetent): Use ptrdiff_t, not int, for sizes. |
| 5 | (gobble_line): Check for size-calculation overflow. | 10 | (gobble_line): Check for size-calculation overflow. |