mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 01:58:41 +01:00
Disable 7zz wildcard matching (-spd) when extracting a named member: a member literally named with "*" or "?" would otherwise act as a pattern, matching other members and concatenating them into the -so stream, which would hash plausible-but-wrong data. Applied to all three extraction call sites, including the two pre-existing readers that share the hazard. Verified against the production Alpine 7zz build. Route extraction stderr to an unlinked temp file instead of a pipe: a filled pipe blocks 7zz while the parent waits on stdout.read(), which the chunk-based deadline never interrupts. A file-backed stderr applies no backpressure and is still read back for the error log on failure. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>