Skip to content

plug-ins: avoid blinds crash by only allowing MAX_FANS segments

Anders Jonsson requested to merge ajonsson/gimp:blinds-maxsegs into master

In GIMP 2.10 the number of segments was restricted to MAX_FANS. That max was later increased to 1024 which can crash the plug-in.

Also change the max displacement angle back to the GIMP 2.10 value of 90 degrees. (the value of x repeats at 180 - x, 180 + x and 360-x degress, so the interval is 0, 90 is enough to get all return values)

Fixes #11108 (closed)

Merge request reports