aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorPaul Eggert2011-07-28 17:23:08 -0700
committerPaul Eggert2011-07-28 17:23:08 -0700
commitddff315164d62859e0eb87e89de9f785b953a39a (patch)
tree173477b3b60a79ac3a9c619a11ed80a8b6cd1894 /src/bytecode.c
parent0eb0f3187d46ec0efdfc1df38565c160c759ecb2 (diff)
downloademacs-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/bytecode.c')
0 files changed, 0 insertions, 0 deletions