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

bodgit / sevenzip / 37242949759
78%

Build:
DEFAULT BRANCH: main
Ran 04 Oct 2026 11:14PM UTC
Jobs 1
Files 25
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

04 Oct 2026 11:13PM UTC coverage: 75.726% (+0.4%) from 75.372%
37242949759

push

github

web-flow
fix: validate file and stream counts in header (#497)

readHeader mapped each non-empty file to a stream with
FileFolderAndSize without checking the header was consistent, so a
crafted header could panic NewReader:

* files with streams but no unpack info (nil pointer dereference)
* files with streams but no streams info at all (nil pointer
  dereference in init)
* more non-empty files than substreams (index out of range)
* a folder with multiple substreams but no sizes (index out of range)

Require the number of non-empty files to match the number of streams,
as 7-Zip does, and require substream sizes when any folder has more
than one stream.

Also fix FileFolderAndSize mapping every file to folder 0 when there
is no substreams info; each folder holds exactly one file in that case.

Fixes #491

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

30 of 30 new or added lines in 2 files covered. (100.0%)

1903 of 2513 relevant lines covered (75.73%)

0.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37242949759.1 04 Oct 2026 11:14PM UTC 25
75.73
GitHub Action Run
Source Files on build 37242949759
  • Tree
  • List 25
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8dccb925 on github
  • Prev Build on main (#37242758045)
  • Next Build on main (#37243880711)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc