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

[encoder] fix zero len array decoding #19

Closed
wants to merge 1 commit into from

Conversation

playboyko
Copy link

  • strings.Split with empty slice argument returns slice with 1 element
    which is empty string. without check len decoder crashes on empty
    numeric arrays
  • encoder test added
  • types test added

- strings.Split with empty slice argument returns slice with 1 element
which is empty string. without check len decoder crashes on empty
numeric arrays
- encoder test added
- types test added
@playboyko playboyko closed this Mar 21, 2018
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.

None yet

1 participant