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

Wrong limit calculation in the ReadConstrainedTextBuffer when reusing a BufferRecycler. #1063

Closed
mariofusco opened this issue Jul 20, 2023 · 1 comment

Comments

@mariofusco
Copy link
Contributor

When reusing a BufferRecycler the constraint of a ReadConstrainedTextBuffer is calculated on the size of that buffer instead of the limit provided with maxStringLength. A reproducer for this problem is provided here.

@mariofusco
Copy link
Contributor Author

Not a bug according to what explained here #1062 (comment)

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