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

Remove codec length check after Durango #2586

Merged
merged 6 commits into from
Jan 4, 2024
Merged

Conversation

StephenButtolph
Copy link
Contributor

@StephenButtolph StephenButtolph commented Jan 4, 2024

Why this should be merged

Since the preallocation logic was removed from the codec, there is no reason to have explicit (and brittle) additional length checks.

How this works

Allow deserialization of messages without enforcing slice length checks after the Durango timestamp.

How this was tested

  • CI
  • Fuji

@StephenButtolph StephenButtolph self-assigned this Jan 4, 2024
@StephenButtolph StephenButtolph added the Durango durango fork label Jan 4, 2024
@StephenButtolph StephenButtolph marked this pull request as ready for review January 4, 2024 20:24
@StephenButtolph StephenButtolph added this to the v1.10.18 milestone Jan 4, 2024
@StephenButtolph StephenButtolph added this pull request to the merge queue Jan 4, 2024
Merged via the queue into dev with commit 71f920d Jan 4, 2024
17 checks passed
@StephenButtolph StephenButtolph deleted the remove-length-check branch January 4, 2024 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Durango durango fork
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants