|
@@ -613,7 +613,9 @@ class ArchiveChecker:
|
|
continue
|
|
continue
|
|
try:
|
|
try:
|
|
archive = msgpack.unpackb(data)
|
|
archive = msgpack.unpackb(data)
|
|
- except Exception:
|
|
|
|
|
|
+ # Ignore exceptions that might be raised when feeding
|
|
|
|
+ # msgpack with invalid data
|
|
|
|
+ except (TypeError, ValueError, StopIteration):
|
|
continue
|
|
continue
|
|
if isinstance(archive, dict) and b'items' in archive and b'cmdline' in archive:
|
|
if isinstance(archive, dict) and b'items' in archive and b'cmdline' in archive:
|
|
self.report_progress('Found archive ' + archive[b'name'].decode('utf-8'), error=True)
|
|
self.report_progress('Found archive ' + archive[b'name'].decode('utf-8'), error=True)
|