From 3221895b3fabb02cf5a07597e126b78ebcd859c1 Mon Sep 17 00:00:00 2001 From: Alexei Podtelezhnikov Date: Sat, 11 Apr 2026 11:12:02 -0400 Subject: [PATCH] * src/smooth/ftsmooth.c (ft_smooth_raster_lcd): Fix clip_box. The bug is discussed in #1412, without security repercussions. --- src/smooth/ftsmooth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smooth/ftsmooth.c b/src/smooth/ftsmooth.c index 7378e6adc..25c1e5e5b 100644 --- a/src/smooth/ftsmooth.c +++ b/src/smooth/ftsmooth.c @@ -151,7 +151,7 @@ params.clip_box.xMin = 0; params.clip_box.yMin = 0; - params.clip_box.xMax = bitmap->width; + params.clip_box.xMax = bitmap->width / 3; params.clip_box.yMax = bitmap->rows; if ( bitmap->pitch < 0 )