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

Fix support for files larger than 4GB #587

Merged
merged 1 commit into from
Feb 6, 2025
Merged

Conversation

WTassoux
Copy link
Contributor

@WTassoux WTassoux commented Feb 5, 2025

Due to an explicit usage of "unsigned int" when retrieving the size of the file contents, executables larger than 4GB became truncated by shiftFile, eventually leading to a crash.

This commit fixes this issue so the new size of the file is properly computed and the crash no longer happens.

Might fix issue #571

@Mic92 Mic92 merged commit b219056 into NixOS:master Feb 6, 2025
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