Skip to content
Commit 7268ed60 authored by Ignacy Kuchciński's avatar Ignacy Kuchciński Committed by Ondrej Holy
Browse files

extractor: Propagate libarchive errors when only data is encrypted

Currently, when trying to extract password protected 7z/RAR archives
that don't have encrypted file lists, no error will be reported, even
though the extraction itself fails creating empty files.

To fix this situation, propagate libarchive errors by checking if
archive_read_data_block return value is different from ARCHIVE_OK.
parent b26de9d2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment