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

A way to limit the depth or memory usage of the parser. #159

Open
xorgy opened this issue Nov 12, 2019 · 0 comments
Open

A way to limit the depth or memory usage of the parser. #159

xorgy opened this issue Nov 12, 2019 · 0 comments

Comments

@xorgy
Copy link

xorgy commented Nov 12, 2019

Limiting string length is an okay way to prevent some forms of abusive input, but there are cases where a longer normal input of a certain size doesn't misbehave, but abusive input of the same text size causes problems.

Do you see any any clean way to limit the parse depth or memory usage without severely limiting the input size?

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

No branches or pull requests

1 participant