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

Add config=sanitize to make it easier to test changes #41

Merged
merged 2 commits into from
Oct 27, 2024
Merged

Conversation

zeux
Copy link
Owner

@zeux zeux commented Oct 27, 2024

Also fix existing undefined behavior sanitizer violations.

zeux added 2 commits October 26, 2024 22:23
This will make it easier to test changes in the future.
- memcpy can't be called with nullptr
- chunk headers should be aligned to 8 bytes as they contain uint64_t
@zeux zeux merged commit 8a7869e into master Oct 27, 2024
8 checks passed
@zeux zeux deleted the sanitize branch October 27, 2024 14:56
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.

1 participant