Skip to content

Fix tests to initialize padding #252

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

wcawijngaards
Copy link
Member

The zone_parse_string routine requires the caller to initialize padding. This fixes the unit tests of simdzone to initialize the padding for string buffers when the zone_parse_string routine is called. This is for the parse tests, the benchmark uses the file parse call. As a result uninitialized read warnings are no longer reported on the unit test.

@wcawijngaards wcawijngaards self-assigned this Mar 27, 2025
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