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

Added max length parameter for GenericStringStream #1135

Closed
wants to merge 1 commit into from
Closed

Added max length parameter for GenericStringStream #1135

wants to merge 1 commit into from

Conversation

jonatanolofsson
Copy link

To protect the reader from reading too far in a non null-terminated buffer.

@jonatanolofsson
Copy link
Author

I have not yet had the opportunity to verify this commit yet, but I'm putting it here as an implementation example for review and discussion.

@pah
Copy link
Contributor

pah commented Dec 12, 2017

This is a duplicate of #789.

You might want to check out #158 or directly use the provided MemoryStream.

@jonatanolofsson
Copy link
Author

Sorry I missed that, I did try to search =)

Thanks!

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.

2 participants