diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2014-07-07 16:25:13 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2014-07-07 16:25:13 -0700 |
commit | 0e14232948f875e390ed46348969b9ebeb9133c1 (patch) | |
tree | fd75498a684c9e2d9cc981ee6f921bed8d351cf4 /src/xselect.c | |
parent | 2c578850246f76ada633e8af447a1c12958f267a (diff) | |
download | emacs-0e14232948f875e390ed46348969b9ebeb9133c1.tar.gz |
Minor ImageMagick safety fixes.
* image.c (imagemagick_compute_animated_image):
Remove useless assignment to local. Avoid problems if dest_width is 0.
(imagemagick_load_image): Use int for pixel counts that can't
exceed INT_MAX. Avoid problem if PixelGetNextIteratorRow returns
a row width greater than the image width (or greater than LONG_MAX!).
Diffstat (limited to 'src/xselect.c')
0 files changed, 0 insertions, 0 deletions