Skip to content

Make sure endPtsOfContours is monotonic#197

Merged
garretrieger merged 1 commit into
google:masterfrom
eustas:fix191
Jun 29, 2026
Merged

Make sure endPtsOfContours is monotonic#197
garretrieger merged 1 commit into
google:masterfrom
eustas:fix191

Conversation

@eustas

@eustas eustas commented May 8, 2026

Copy link
Copy Markdown
Contributor

Fixes #191

Drive-by: also check for possible overflow that could be caused by "+1".

Fixes google#191

Drive-by: also check for possible overflow that could be caused by "+1".

@rsheeter rsheeter left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wish there was a test but looks reasonable at a glance

@eustas

eustas commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Will add test on Monday.

@eustas

eustas commented Jun 4, 2026

Copy link
Copy Markdown
Contributor Author

@garretrieger please take a look

@eustas

eustas commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

"GitHub Actions Scan" seems to be stuck...

@garretrieger
garretrieger merged commit fb9c337 into google:master Jun 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Fuzzing] DoS: Unbounded ReadGlyph allocation via uint16_t wraparound in ConvertTTFToWOFF2

3 participants