]>
git.ipfire.org Git - thirdparty/libarchive.git/commit
rar5: return ARCHIVE_FAILED (not ARCHIVE_FATAL) for per-entry data errors
Two per-entry errors in the RAR5 data-reading path were returning
ARCHIVE_FATAL, preventing iteration over subsequent entries:
- "Reading encrypted data is not currently supported": the encryption
is per-entry; unencrypted entries in the same archive remain readable.
- "Invalid filter encountered": a malformed filter spec in one entry
does not make the rest of the archive unreadable.
Change both to ARCHIVE_FAILED.