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

bodgit / sevenzip / 37243680009
76%
main: 77%

Build:
Build:
LAST BUILD BRANCH: renovate/bodgit-workflows-1.x
DEFAULT BRANCH: main
Ran 04 Oct 2026 11:26PM 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:24PM UTC coverage: 75.975% (+0.2%) from 75.726%
37243680009

Pull #498

github

bodgit
fix: validate pack streams and folder indices in header

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>
Pull Request #498: fix: validate pack streams and folder indices in header

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 37243680009.1 04 Oct 2026 11:26PM UTC 25
75.97
GitHub Action Run
Source Files on build 37243680009
  • Tree
  • List 25
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #498
  • PR Base - main (#37242949759)
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