diff options
| author | Paul Eggert | 2011-07-28 18:55:31 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-07-28 18:55:31 -0700 |
| commit | c678c83546bee743707bd0e259cc2aba192180c3 (patch) | |
| tree | 6e5c90ab1d218649c814f96c87967815be03275d /src/ChangeLog | |
| parent | b7b603a0dca7695a852db57f8983bc0239f49678 (diff) | |
| download | emacs-c678c83546bee743707bd0e259cc2aba192180c3.tar.gz emacs-c678c83546bee743707bd0e259cc2aba192180c3.zip | |
* xfns.c: Integer and memory overflow fixes.
(x_encode_text, x_set_name_internal, Fx_change_window_property):
Use ptrdiff_t, not int, to count sizes, since they can exceed
INT_MAX in size. Check for size calculation overflow.
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 3ac8c562a52..7a0543e46c5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2011-07-29 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-07-29 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * xfns.c: Integer and memory overflow fixes. | ||
| 4 | (x_encode_text, x_set_name_internal, Fx_change_window_property): | ||
| 5 | Use ptrdiff_t, not int, to count sizes, since they can exceed | ||
| 6 | INT_MAX in size. Check for size calculation overflow. | ||
| 7 | |||
| 3 | * xfaces.c: Integer and memory overflow fixes. | 8 | * xfaces.c: Integer and memory overflow fixes. |
| 4 | (Finternal_make_lisp_face): Use ptrdiff_t, not int, for sizes. | 9 | (Finternal_make_lisp_face): Use ptrdiff_t, not int, for sizes. |
| 5 | Check for size calculation overflow. | 10 | Check for size calculation overflow. |