mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-23 01:57:48 -06:00
fix: bound data directory zip extraction
The refresh fetched, filtered and extracted in one function and copied ZIP members with no size, ratio or duplicate path check. Extraction now lives in packs/datadirextract.py as local functions, the ZIP side on safe_extract_zip, which gains a member select hook and returns the file count. Tests read the member rules on local archives.
This commit is contained in:
1 parent
0d44254504
commit
357153eaa3
6 files changed
+222
-118
No files matched your search
@@ -76,6 +76,7 @@ on:
|
||||
- "scripts/packs/archive.py"
|
||||
- "scripts/packs/coverage.py"
|
||||
- "scripts/packs/crossref.py"
|
||||
- "scripts/packs/datadirextract.py"
|
||||
- "scripts/packs/datadirs.py"
|
||||
- "scripts/packs/extras.py"
|
||||
- "scripts/packs/gaps.py"
|
||||
|
||||
Reference in new issue
Block a user