Skip to content
  • Michael Natterer's avatar
    Issue #1730 - pat file that crashes gimp-2.10 · 9b56ca8c
    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.
    9b56ca8c