Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • FreeType FreeType
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 60
    • Issues 60
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FreeType
  • FreeTypeFreeType
  • Merge requests
  • !89

Avoid UB pointer arithmetic in T1 parsing

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Ben Wagner requested to merge bungeman/freetype:t1_truncated_size into master Oct 11, 2021
  • Overview 6
  • Commits 1
  • Pipelines 1
  • Changes 1

Check that the parser cursor is not already at the limit before creating a pointer to one after it. This allows for safely skipping the 'white' only if it is actually present.

Bug: https://crbug.com/1258839

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: t1_truncated_size