diff options
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 178ebf78932..944a5dfbecb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,14 @@ | |||
| 1 | 2011-05-16 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-05-16 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * character.c (lisp_string_width): Check for string overflow. | ||
| 4 | Use EMACS_INT, not int, for string indexes and lengths; in | ||
| 5 | particular, 2nd arg is now EMACS_INT, not int. Do not crash if | ||
| 6 | the resulting string length overflows an EMACS_INT; instead, | ||
| 7 | report a string overflow if no precision given. When checking for | ||
| 8 | precision exhaustion, use a check that cannot possibly have | ||
| 9 | integer overflow. (Bug#8675) | ||
| 10 | * character.h (lisp_string_width): Adjust to new signature. | ||
| 11 | |||
| 3 | * alloc.c (string_overflow): New function. | 12 | * alloc.c (string_overflow): New function. |
| 4 | (Fmake_string): Use it. This doesn't change behavior, but saves | 13 | (Fmake_string): Use it. This doesn't change behavior, but saves |
| 5 | a few bytes and will simplify future changes. | 14 | a few bytes and will simplify future changes. |