Commit 2948033c authored by Ell's avatar Ell

lens-blur: fix out-of-bounds read

parent 2de026dc
Pipeline #185985 passed with stages
in 13 minutes and 46 seconds
......@@ -364,7 +364,7 @@ process (GeglOperation *operation,
row += 4;
row_w++;
if (x <= x2)
if (x + 1 <= x2)
{
for (c = 0; c < 4; c++)
accum[c] += row[4 * (+s) + c];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment