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

Prevent accidental DoS on malformed stacktraces #3980

Merged
merged 3 commits into from May 8, 2024
Merged

Conversation

jonathanmetzman
Copy link
Collaborator

Enormous stacktraces containing a giant array on a single line is causing bots to freeze.
Although fuzztest really should not be printing an input this large, let's try to be resilient when it misbehaves.

Fixes: #3978

@jonathanmetzman
Copy link
Collaborator Author

I asked a lot of folks to review this because I don't know much about regex. Let me know if you think there's a better way to do what I'm doing.

@jonathanmetzman jonathanmetzman merged commit 66f2069 into master May 8, 2024
7 checks passed
@jonathanmetzman jonathanmetzman deleted the lenth branch May 8, 2024 13:41
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.

Investigate queue backlog
2 participants