Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • inkscape inkscape
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,542
    • Issues 1,542
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 141
    • Merge requests 141
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • InkscapeInkscape
  • inkscapeinkscape
  • Merge requests
  • !3927

Fix a crash in hatching/tracing mode of the Calligraphic Tool

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Rafał Siejakowski requested to merge S-Rafael/inkscape:calligraphic-crash into master Jan 30, 2022
  • Overview 10
  • Commits 1
  • Pipelines 7
  • Changes 2

This bugfix addresses a segfault in the "hatching" mode of the Calligraphic Tool (tracing an existing object, triggered with Ctrl key) when the reference path(s) have zero stroke width.

The key to preventing this crash is, unsurprisingly, more diligent null-pointer checking; some of the functions called in that part of the code are allowed to return nullptr by design, so the necessary checks have been introduced.

Fixes #3173 (closed)

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: calligraphic-crash