Skip to content

Integrate p7zip fixes with safe extraction and runtime capability probing - #8

Merged
caokai674 merged 1 commit into
mainfrom
maint/p7zip-integration-fixes
Sep 29, 2026
Merged

caokai674 merged 1 commit into
mainfrom
maint/p7zip-integration-fixes

Conversation

@caokai674

Copy link
Copy Markdown
Member

Summary

This consolidates #5 and #6 into one maintained branch and preserves the current main TUI extraction guards.

Fixes included

  • transactional single-stream extraction: existing files survive failed decodes
  • ordered 7z / 7zz / 7za backend fallback and per-archive caching
  • runtime probing of actual archive creation support
  • signature-only / renamed tar.xz keeps TAR+XZ member extraction
  • password failure hint appears only when a password was supplied
  • portable test scratch directories
  • current-main preview path / symlink escape guards retained

Regression coverage

  • failed stream extraction preserves an existing destination
  • runtime SWFc creation capability is probed
  • named standalone .xz stays on the generic stream backend
  • renamed / extensionless tar.xz is detected as TAR+XZ and extracts members
  • TUI preview path traversal guard stays covered

Supersedes #5 and #6 after CI passes.

@caokai674
caokai674 force-pushed the maint/p7zip-integration-fixes branch from b50026c to 8dcd092 Compare September 29, 2026 07:13
@caokai674
caokai674 merged commit ec05b87 into main Sep 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant