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

ZIPFoundation makes assumptions about memory alignment that are likely to break in forthcoming Swift version #340

Open
microtherion opened this issue Oct 21, 2024 · 0 comments

Comments

@microtherion
Copy link
Contributor

Summary

ZIPFoundation makes assumptions that Data and subdata in some situations are properly aligned on 4 byte boundaries. These assumptions are in fact not guaranteed by the API and appear to cause crashes on debug build in nightly builds of Swift 6.

Related Link

There is a rather straightforward fix for this: https://github.com/weichsel/ZIPFoundation/pull/339/files

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

No branches or pull requests

1 participant