diff options
author | Ray Johnston <ray.johnston@artifex.com> | 2016-09-10 11:52:38 -0700 |
---|---|---|
committer | Ray Johnston <ray.johnston@artifex.com> | 2016-09-10 11:52:38 -0700 |
commit | aa23930545649007079b17057083c1725427c558 (patch) | |
tree | 63d62aa305201e18f887d93bac526d218cd9041b | |
parent | cca3ba8087dbec47a6e7a8e5368da9e28fb81663 (diff) | |
download | ghostpdl-aa23930545649007079b17057083c1725427c558.tar.gz |
Apply fix suggested in Bug 697108 to prevent infinite loop
Hopefully the last missed increment of a loop variable in the image
interpolation code.
Thanks to Jonathan Dagresta for the patch.
-rw-r--r-- | base/gxiscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gxiscale.c b/base/gxiscale.c index 8d2185c34..456287195 100644 --- a/base/gxiscale.c +++ b/base/gxiscale.c @@ -1836,7 +1836,7 @@ image_render_interpolate_landscape_masked_hl(gx_image_enum * penum, if_debug1m('B', penum->memory, "[B]Interpolated masked (rotated) row %d:\n[B]", penum->line_xy); psrc += pss->params.LeftMarginOut * spp_decode; - for (x = xo; x < xe;) { + for (x = xo; x < xe; x++) { code = (*dev_proc(dev, copy_alpha_hl_color))(dev, psrc, 0, 0, gx_no_bitmap_id, ry, x, 1, 1, penum->icolor1, 8); if (code < 0) |