Skip to content

Conversation

damyanp
Copy link
Member

@damyanp damyanp commented Oct 12, 2025

By default, miniz performs unaligned loads/stores in x86/x64 platforms. This is undefined behavior in C, and so we explicitly disable it.

Fixes 98 ubsan / alignment errors when building check-all.

Fixes 98 ubsan / alignement errors.
@damyanp damyanp changed the title [ubsan] Prevent miniz from doing unaligned load / stores [ubsan] Prevent miniz from performing unaligned load / stores Oct 12, 2025
@damyanp damyanp marked this pull request as ready for review October 12, 2025 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

1 participant