-
Notifications
You must be signed in to change notification settings - Fork 70
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
Slow parsing of malformed font files #97
Comments
Very neat. I'm not sure if I can reasonably defend against this, but I'll look into this. |
I think this is critical for any applications where users can provide their own font files. |
The two sample fonts specifically: Both trigger a Result::err() immediately for me right now for being too malformed. So this is fixed. The DoS issue in general: I do not recommend using |
Fuzz target:
Samples are in a zip file to stop github complaining about the file type
155 seconds: slow.zip
33 seconds: slow.zip
The text was updated successfully, but these errors were encountered: