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

Fixes range error by using > 0 length buffer. #2365

Merged
merged 1 commit into from
Feb 19, 2016

Conversation

hackergrrl
Copy link
Contributor

Addresses #2361.

This would happen once every blue moon when rand.Intn(1024) == 0.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
@hackergrrl
Copy link
Contributor Author

cc @whyrusleeping for CR

@whyrusleeping
Copy link
Member

ah, good catch. Thanks!

whyrusleeping added a commit that referenced this pull request Feb 19, 2016
Fixes range error by using > 0 length buffer.
@whyrusleeping whyrusleeping merged commit 9cdb69c into ipfs:master Feb 19, 2016
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