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

Fix decode infinite loop for toml, xml, bencode and bson #62

Merged

Conversation

chancez
Copy link
Collaborator

@chancez chancez commented Feb 14, 2019

Currently these decoders are not using a streaming decoder so we read
everything at once using ioutil.ReadAll, which means these do not return
io.EOF as the faq code expects a decoder to return.

Currently these decoders are not using a streaming decoder so we read
everything at once using ioutil.ReadAll, which means these do not return
io.EOF as the faq code expects a decoder to return.
@jzelinskie jzelinskie merged commit 1e20956 into jzelinskie:master Feb 14, 2019
@chancez chancez deleted the fix_formats_decode_infinite_loop branch February 14, 2019 19:07
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