Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
GIMP
GIMP
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,838
    • Issues 2,838
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 37
    • Merge Requests 37
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • External Wiki
    • External Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • GIMPGIMP
  • Issues
  • #2785

Closed
Open
Created Jan 11, 2019 by Thomas Manni@tmanniDeveloper

Fill by line art detection produces Segmentation fault with some images

The issue is in the function gimp_lineart_curvature_extremums :
max_curvature_pixel is initialized with gimp_vector2_new (-1.0, -1.0) and max_curvature to 0.0
If all tested curvature values are zero, the point (-1.0, -1.0) is added to the max_positions array.
Later, these negative values are used to compute array offset, causing segmentation fault.

master and gimp-2-10 branches are affected.

Assignee
Assign to
2.10
Milestone
2.10
Assign milestone
Time tracking
None
Due date
None