-
Michael Natterer authored
Introduce GIMP_PATTERN_MAX_SIZE (10000) and GIMP_PATTERN_MAX_NAME (256) and validate pattern dimensions and pattern name length against them. Add GIMP_BRUSH_MAX_NAME and validate that too. Also make sure that the names are properly terminated, and some cleanup. (cherry picked from commit 9b56ca8c)
f46cf260