diff options
| author | Paul Eggert | 2011-07-28 22:12:49 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-07-28 22:12:49 -0700 |
| commit | 3256efcee3a7c3bf63e62666715455e834d19ea0 (patch) | |
| tree | 1b71292793d856130d2e51f798aa7eabba41b484 /src/ChangeLog | |
| parent | 1d526e2f33eb2615944717c9231bc1d27aef1117 (diff) | |
| download | emacs-3256efcee3a7c3bf63e62666715455e834d19ea0.tar.gz emacs-3256efcee3a7c3bf63e62666715455e834d19ea0.zip | |
* xterm.c: Integer and memory overflow issues.
(x_color_cells, handle_one_xevent, x_term_init):
Check for size calculation overflow.
(x_color_cells): Don't store size until memory allocation succeeds.
(handle_one_xevent): Use ptrdiff_t, not int, for byte counts.
(x_term_init): Don't assume length fits in int (sprintf is limited
to int size).
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 1f288a48f2f..b005b461ed4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,13 @@ | |||
| 1 | 2011-07-29 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-07-29 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * xterm.c: Integer and memory overflow issues. | ||
| 4 | (x_color_cells, handle_one_xevent, x_term_init): | ||
| 5 | Check for size calculation overflow. | ||
| 6 | (x_color_cells): Don't store size until memory allocation succeeds. | ||
| 7 | (handle_one_xevent): Use ptrdiff_t, not int, for byte counts. | ||
| 8 | (x_term_init): Don't assume length fits in int (sprintf is limited | ||
| 9 | to int size). | ||
| 10 | |||
| 3 | * xsmfns.c (smc_save_yourself_CB): Check for size calc overflow. | 11 | * xsmfns.c (smc_save_yourself_CB): Check for size calc overflow. |
| 4 | 12 | ||
| 5 | * xselect.c: Integer and memory overflow issues. | 13 | * xselect.c: Integer and memory overflow issues. |