• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

OSSystems / compress-tools-rs / 24838143339
78%

Build:
DEFAULT BRANCH: master
Ran 23 Apr 2026 01:33PM UTC
Jobs 1
Files 16
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Apr 2026 01:30PM UTC coverage: 78.557% (+0.7%) from 77.836%
24838143339

push

github

otavio
fix!: reject mtree specifications on archive entry points

libarchive's mtree format handler matches arbitrary free-form text, so inputs as innocuous
as a plain gunzip'd text file were being parsed as single-entry mtree "archives". This
defeats the guarantee added alongside the raw-handler removal, where archive entry points
are supposed to reliably reject non-archive bytes.

- After each successful archive_read_next_header, check archive_format and treat an mtree
  match the same way we treat the raw handler: return an Extraction error instead of
  yielding bogus entries
- Wire the check into list_archive_files, list_archive_entries, uncompress_archive,
  uncompress_archive_file, and ArchiveIterator (covering their _with_encoding and async
  siblings via the shared helpers)
- Expose archive_format plus ARCHIVE_FORMAT_BASE_MASK / ARCHIVE_FORMAT_MTREE through the
  FFI bindings and generate-ffi script
- Extend CHANGES.md and the crate-level docs to describe the mtree rejection alongside the
  existing raw-handler note
- Add regression tests that feed tests/fixtures/file.txt.gz through list_archive_files and
  ArchiveIterator to confirm both surfaces reject the mtree interpretation

28 of 29 new or added lines in 3 files covered. (96.55%)

68 existing lines in 3 files now uncovered.

2004 of 2551 relevant lines covered (78.56%)

94.59 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
93.86
0.11% tests/integration_test.rs

Coverage Regressions

Lines Coverage ∆ File
43
87.77
0.84% src/lib.rs
15
90.87
1.0% src/iterator.rs
10
93.86
0.11% tests/integration_test.rs
Jobs
ID Job ID Ran Files Coverage
1 24838143339.1 23 Apr 2026 01:33PM UTC 16
78.56
GitHub Action Run
Source Files on build 24838143339
  • Tree
  • List 16
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24838143339
  • acaeb315 on github
  • Prev Build on master (#24835854285)
  • Next Build on master (#24838247186)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc