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
Copy link
Copy Markdown
Contributor

@eustas eustas commented May 8, 2026

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".
Copy link
Copy Markdown
Contributor

@rsheeter rsheeter left a comment

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
Copy link
Copy Markdown
Contributor Author

eustas commented May 9, 2026

Will add test on Monday.

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

2 participants