Commit 01b39aa6 authored by jvoisin's avatar jvoisin
Browse files

Make libmat2 more robust against corrupted zip files

parent e312868c
Pipeline #71648 passed with stages
in 3 minutes and 52 seconds
......@@ -388,7 +388,7 @@ class ZipParser(ArchiveBasedAbstractParser):
with zipfile.ZipFile(self.filename):
except zipfile.BadZipFile:
except (zipfile.BadZipFile, OSError):
raise ValueError
Supports Markdown
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