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

Ubsan fixes #5303

Merged
merged 17 commits into from
Feb 20, 2025
Merged

Ubsan fixes #5303

merged 17 commits into from
Feb 20, 2025

Conversation

brong
Copy link
Member

@brong brong commented Feb 19, 2025

I got sick of compiling with ubsan and then not being able to run Cassandane tests, so this fixes a lot of the noise!

@brong brong requested a review from wolfsage February 19, 2025 18:20
Copy link
Contributor

@wolfsage wolfsage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Neat trick with the union for aligned reads. Probably we could use alignas at this point instead but it seems fine.

Thanks for this!

@brong
Copy link
Member Author

brong commented Feb 20, 2025

lgtm. Neat trick with the union for aligned reads. Probably we could use alignas at this point instead but it seems fine.

Thanks for this!

Yeah, this trick was used in places in the code before (may still be) - have fixed a couple more now.

@brong brong merged commit 1842e53 into cyrusimap:master Feb 20, 2025
0 of 5 checks passed
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