Skip to content

fix encoder and decoder cache slice edge case#382

Merged
goccy merged 1 commit intogoccy:masterfrom
trim21:fix/381
Jul 15, 2022
Merged

fix encoder and decoder cache slice edge case#382
goccy merged 1 commit intogoccy:masterfrom
trim21:fix/381

Conversation

@trim21
Copy link
Copy Markdown
Contributor

@trim21 trim21 commented Jul 10, 2022

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

close #381

Copy link
Copy Markdown
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