Skip to content

Conversation

@JayceFayne
Copy link

This PR adds a recursion depth limit to prevent unbounded recursion when parsing deeply nested messages. I chose the limit of 255 rather arbitrarely. Let me know what you think.

I also wasn't sure how best to expose this to the public api. I was thinking maybe a new function parse_mail_limit?

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.

1 participant