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

Decode: fix reuse of slice for array tables #934

Merged
merged 3 commits into from
Feb 27, 2024
Merged

Decode: fix reuse of slice for array tables #934

merged 3 commits into from
Feb 27, 2024

Commits on Feb 27, 2024

  1. decode: fix reuse of slice for array tables

    When decoding into a non-empty slice, it needs to be emptied so that only the
    tables contained in the document are present in the resulting value.
    
    Arrays are not impacted because their unmarshal offset is tracked separately.
    
    Fixes #931
    pelletier committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    cd63267 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    78ad639 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    51b667a View commit details
    Browse the repository at this point in the history