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

bodgit / sevenzip / 37243880711
78%

Build:
DEFAULT BRANCH: main
Ran 04 Oct 2026 11:30PM 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:28PM UTC coverage: 75.975% (+0.2%) from 75.726%
37243880711

push

github

web-flow
fix: validate pack streams and folder indices in header (#498)

folderReader indexes the pack sizes, its input and output streams
using values taken straight from the header, so a crafted header could
panic NewReader (when decoding an encoded header) or File.Open:

* unpack info with no pack info (nil pointer dereference)
* pack info without sizes, or fewer pack streams than the folders
  need (index out of range)
* a bind pair output index beyond the folder's outputs (index out of
  range)
* a packed stream index beyond the folder's inputs (index out of
  range)

A bind pair input index beyond the folder's inputs also left too many
inputs unbound, misreading the pack sizes.

Validate bind pairs and packed streams in readFolder, and require the
number of pack streams with sizes to exactly match the packed streams
across all folders in readStreamsInfo, as 7-Zip does. Both the main
and encoded headers are therefore covered before any folder is read.

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

26 of 26 new or added lines in 1 file covered. (100.0%)

1929 of 2539 relevant lines covered (75.97%)

0.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37243880711.1 04 Oct 2026 11:30PM UTC 25
75.97
GitHub Action Run
Source Files on build 37243880711
  • Tree
  • List 25
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 42418740 on github
  • Prev Build on main (#37242949759)
  • Next Build on main (#37244513231)
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