refactor(Zip): check archive consistency when decompressing all files

This commit is contained in:
nyashbox 2024-12-03 15:04:05 +02:00
parent 870d3b7965
commit af3613447d
No known key found for this signature in database
GPG Key ID: B40E74A291D1DFA4

View File

@ -68,6 +68,9 @@ ZipArchive Decompress::decompressAllFiles()
{
poco_assert (_mapping.empty());
ZipArchive arch(_in, *this);
arch.checkConsistency();
return arch;
}