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 #941: empty strings break msgpack_object_print_buffer() (C) #942

Merged
merged 2 commits into from
Apr 3, 2021

Conversation

vmallet
Copy link

@vmallet vmallet commented Mar 23, 2021

Don't abort serialization when running into empty strings in msgpack_object_print_buffer().
Added a couple of unit tests to test empty string cases.

vmallet added 2 commits March 23, 2021 13:56
Don't abort serialization when running into empty strings in msgpack_object_print_buffer().
Added a couple of unit tests to test empty string cases.
Use sprintf_s (windows) or snprintf (others) instead of sprintf in unit tests.
@redboltz
Copy link
Contributor

redboltz commented Apr 3, 2021

Thank you for sending the PR.
LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants