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

Correct assignment to r when checking for result of reading archive data #1929

Merged
merged 1 commit into from Jul 23, 2023

Conversation

AtariDreams
Copy link
Contributor

@AtariDreams AtariDreams commented Jul 21, 2023

It is impossible for if (r == ARCHIVE_FATAL) to be true otherwise.

contrib/archivetest.c Outdated Show resolved Hide resolved
contrib/archivetest.c Show resolved Hide resolved
@AtariDreams AtariDreams changed the title Check for ARCHIVE_FATAL should be in the while loop Correct assignment to r when checking for result of reading archive data Jul 22, 2023
It is impossible for if (r == ARCHIVE_FATAL) to be true otherwise.
@AtariDreams
Copy link
Contributor Author

@kientzle Done!

@mmatuska mmatuska merged commit 1496157 into libarchive:master Jul 23, 2023
20 checks passed
@AtariDreams AtariDreams deleted the bugfix branch July 24, 2023 01:26
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.

None yet

3 participants