mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-03 04:38:39 +01:00
refactor(Zip): check archive consistency when decompressing all files
This commit is contained in:
parent
870d3b7965
commit
af3613447d
@ -68,6 +68,9 @@ ZipArchive Decompress::decompressAllFiles()
|
||||
{
|
||||
poco_assert (_mapping.empty());
|
||||
ZipArchive arch(_in, *this);
|
||||
|
||||
arch.checkConsistency();
|
||||
|
||||
return arch;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user