diff options
| author | Paul Eggert | 2013-12-03 13:37:41 -0800 |
|---|---|---|
| committer | Paul Eggert | 2013-12-03 13:37:41 -0800 |
| commit | 2654ac09ccc5da6e2fe99e60291d4c6013958c3e (patch) | |
| tree | 68546ecbd8f180b14df3b85071a440397c6904a7 /src/ChangeLog | |
| parent | 0b254a38fa0c852d1f7297e31b811f0d2962c81d (diff) | |
| download | emacs-2654ac09ccc5da6e2fe99e60291d4c6013958c3e.tar.gz emacs-2654ac09ccc5da6e2fe99e60291d4c6013958c3e.zip | |
Minor integer overflow fixes.
* window.c (Fset_window_new_pixel): Don't let new_pixel go negative.
This improves on the previous fix to this function.
(window_resize_check): When summing up pixel counts, don't rely on
undefined behavior if the sum overflows.
Fixes: debbugs:16033
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 bdd111f5083..44039f83d8b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2013-12-03 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Minor integer overflow fixes (Bug#16033). | ||
| 4 | * window.c (Fset_window_new_pixel): Don't let new_pixel go negative. | ||
| 5 | This improves on the previous fix to this function. | ||
| 6 | (window_resize_check): When summing up pixel counts, don't rely on | ||
| 7 | undefined behavior if the sum overflows. | ||
| 8 | |||
| 1 | 2013-12-03 Martin Rudalics <rudalics@gmx.at> | 9 | 2013-12-03 Martin Rudalics <rudalics@gmx.at> |
| 2 | 10 | ||
| 3 | * window.c (Fset_window_new_pixel): Don't choke at negative | 11 | * window.c (Fset_window_new_pixel): Don't choke at negative |