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

Check crc on tar header #855

Merged

Conversation

Erior
Copy link
Contributor

@Erior Erior commented Jul 10, 2024

#837

We could use the CRC for checking validation of the header, however it would seem the Tar.Empty.tar test case is invalid

@Erior
Copy link
Contributor Author

Erior commented Jul 11, 2024

The last could actually be change to return crc == chk1 || crc == chk2 ... instead of the if... if you prefere that I can change

@adamhathcock adamhathcock merged commit 6fcfae8 into adamhathcock:master Jul 12, 2024
2 checks passed
@adamhathcock
Copy link
Owner

Thanks!

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