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,525
    • Issues 1,525
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 134
    • Merge requests 134
  • 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
  • Inkscape
  • inkscapeinkscape
  • Issues
  • #1729
Closed
Open
Created May 26, 2020 by powder white@powderwhite258

buffer underrun in PDF import routine

Summary:

Whilst porting a portion of the pdf import code over to scribus, I got a segment fault running some of the code. A Close look showed that there was a buffer underrun in one of the functions

Steps to reproduce:

This dpoesn't seem to occur every time in inkscape when I use it, but sometimes when importing pdf files inkscape has crashed, this buffer underrun may be why

What happened?

the application crashed.

What should have happened?

it should have continued and imported the PDF file correctly

Sample attachments:

std::vector::iterator prev_iterator = i - 1 when i starts off as the first iterator begin(), so i-1 is out of bounds.

Version Info:

- Inkscape Version: ... 1.0
- Operating System: ... Windows 
- Operating System version: ...10
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking