7 Commits
Author SHA1 Message Date
subotac a6306a2197 7zip: Track PPMd input across read blocks
PPMd pulls input through its byte callback, so the regular input buffer does not track bytes consumed after crossing a read-block boundary. Advance the packed stream using the callback count and reject reads beyond the remaining packed data.

Resolves #3337
2026-08-08 14:48:15 +03:00
subotac f514e28373 7zip: Add PPMd small read block regression test
The fixture and reproducer are based on the archive and report provided by @004helix in #3337.
2026-08-08 14:31:35 +03:00
subotac 2af20746e6 Return fatal when closing a failed writer
Once an archive writer enters the fatal state, close should report that failure instead of proceeding as though it were usable.

Resolves #3353
2026-08-08 14:31:04 +03:00
subotac 0c4749950a tests: Cover closing a failed writer 2026-08-08 14:31:04 +03:00
subotac ea6bff4f92 Fix empty wide string conversion on Windows 2026-08-06 21:29:20 +03:00
subotac abba713e8e Clarify absolute path test extraction roots 2026-07-31 20:26:23 +03:00
subotac 83a023ee30 Fix absolute path test when run as root 2026-07-30 18:40:17 +03:00