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 bugs in serializing long numbers #2055

Merged
merged 1 commit into from
Nov 2, 2024
Merged

Fix bugs in serializing long numbers #2055

merged 1 commit into from
Nov 2, 2024

Conversation

AArnott
Copy link
Collaborator

@AArnott AArnott commented Nov 1, 2024

We had some code that assumed GetSpan returns exactly the size requested. And even if that were true, it forgets that we need slightly larger than that length in order to prefix it.

@AArnott AArnott added this to the v2.5 milestone Nov 1, 2024
@AArnott AArnott merged commit d3d435b into master Nov 2, 2024
7 checks passed
@AArnott AArnott deleted the fixBuggyWrites branch November 2, 2024 23:04
@jot-r
Copy link

jot-r commented Nov 14, 2024

This fix is baked into the nuget package 2.5.192 but without providing release notes.
Can you add them so the link in the nuget package is working?
https://www.nuget.org/packages/MessagePack/2.5.192#releasenotes-body-tab

@AArnott
Copy link
Collaborator Author

AArnott commented Nov 14, 2024

@jot-r Done.

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.

2 participants