diff options
| author | Paul Eggert | 2011-07-28 17:23:08 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-07-28 17:23:08 -0700 |
| commit | ddff315164d62859e0eb87e89de9f785b953a39a (patch) | |
| tree | 173477b3b60a79ac3a9c619a11ed80a8b6cd1894 /src/ChangeLog | |
| parent | 0eb0f3187d46ec0efdfc1df38565c160c759ecb2 (diff) | |
| download | emacs-ddff315164d62859e0eb87e89de9f785b953a39a.tar.gz emacs-ddff315164d62859e0eb87e89de9f785b953a39a.zip | |
* image.c: Integer and memory overflow fixes.
(RANGED_INTEGERP, TYPE_RANGED_INTEGERP): Remove; these are duplicate
now that they've been promoted to lisp.h.
(x_allocate_bitmap_record, x_alloc_image_color)
(make_image_cache, cache_image, xpm_load):
Don't update size until alloc is done.
(xpm_load, lookup_rgb_color, lookup_pixel_color, x_to_xcolors)
(x_detect_edges):
Check for size calculation overflow.
(ct_colors_allocated_max): New constant.
(x_to_xcolors, x_detect_edges): Reorder multiplicands to avoid
overflow.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b984072c6eb..5683578fedb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,18 @@ | |||
| 1 | 2011-07-29 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * image.c: Integer and memory overflow fixes. | ||
| 4 | (RANGED_INTEGERP, TYPE_RANGED_INTEGERP): Remove; these are duplicate | ||
| 5 | now that they've been promoted to lisp.h. | ||
| 6 | (x_allocate_bitmap_record, x_alloc_image_color) | ||
| 7 | (make_image_cache, cache_image, xpm_load): | ||
| 8 | Don't update size until alloc is done. | ||
| 9 | (xpm_load, lookup_rgb_color, lookup_pixel_color, x_to_xcolors) | ||
| 10 | (x_detect_edges): | ||
| 11 | Check for size calculation overflow. | ||
| 12 | (ct_colors_allocated_max): New constant. | ||
| 13 | (x_to_xcolors, x_detect_edges): Reorder multiplicands to avoid | ||
| 14 | overflow. | ||
| 15 | |||
| 1 | 2011-07-28 Paul Eggert <eggert@cs.ucla.edu> | 16 | 2011-07-28 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 17 | ||
| 3 | * gtkutil.c: Integer overflow fixes. | 18 | * gtkutil.c: Integer overflow fixes. |