Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix oob nanosvg #345

Merged
merged 2 commits into from
Jan 25, 2025
Merged

Fix oob nanosvg #345

merged 2 commits into from
Jan 25, 2025

Conversation

rodarima
Copy link
Member

No description provided.

klapeto and others added 2 commits January 25, 2025 14:22
nsvg__isspace uses strchr on a NUL terminated string, so it returns
true for the NUL terminator.  Other uses of nsvg__isspace account for
this by checking for NUL first; I've followed the same pattern here.

Fixes: memononen/nanosvg#241
See: memononen/nanosvg#262
@rodarima rodarima merged commit d4f7b19 into master Jan 25, 2025
11 checks passed
@rodarima rodarima deleted the fix-oob-nanosvg branch January 25, 2025 15:52
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.

3 participants