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: allow closed file handles in calc_sha256sum #97

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

hermankolden
Copy link
Contributor

Since we tend to allow filenames and file handles interchangably in this code base, we might run into the edge case of a closed file handle being input to calc_sha256sum. We should then open the file before getting the hash.

Since we tend to allow filenames and file handles interchangably in this
code base, we might run into the edge case of a closed file handle being
input to calc_sha256sum. We should then open the file before getting the
hash.
@bkueng bkueng merged commit a84bf52 into PX4:main Jul 4, 2024
4 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