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 encoder and decoder cache slice edge case #382

Merged
merged 1 commit into from Jul 15, 2022
Merged

Conversation

trim21
Copy link
Contributor

@trim21 trim21 commented Jul 10, 2022

typeptr == typeAddr.MaxTypeAddr in this case, cachedEncoder get item out of range.

close #381

Copy link
Owner

@goccy goccy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution ! LGTM

@goccy goccy merged commit f244348 into goccy:master Jul 15, 2022
@trim21 trim21 deleted the fix/381 branch July 15, 2022 10:10
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.

encoder cache out of range panic
2 participants