Files
gimp/app/operations
Jehan 7f29543895 app: fix global-buffer-overflow in "gimp:dissolve" implementation.
In case of negative y in the region to process, we were accessing invalid memory
(negative array index).

I hesitated between make so that a given ordinate always use the same index or
if we just want the start ordinate (whatever it is) to use index 0. The later
could have just been `(y - result->y) % RANDOM_TABLE_SIZE`.

I just decided to keep the existing logic (former case) though to be fair, not
sure it matters much.

(cherry picked from commit a86560bb57)
2023-02-16 20:31:41 +01:00
..
2019-09-11 16:42:04 +02:00
2019-09-11 16:42:04 +02:00
2020-11-10 12:52:01 +01:00
2020-11-10 12:52:01 +01:00