Skip to content

Make sure endPtsOfContours is monotonic#197

Open
eustas wants to merge 1 commit into
google:masterfrom
eustas:fix191
Open

Make sure endPtsOfContours is monotonic#197
eustas wants to merge 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

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