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

bodgit / sevenzip / 37503357966
78%

Build:
DEFAULT BRANCH: main
Ran 06 Oct 2026 05: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

06 Oct 2026 05:24PM UTC coverage: 77.655% (+0.05%) from 77.607%
37503357966

push

github

web-flow
fix: reject substream sizes larger than their folder (#503)

The size of the last stream in a folder is whatever remains after
subtracting the other declared sizes from the folder's unpack size.
If the declared sizes exceeded the folder size, the subtraction
underflowed, giving the last file a huge size that FileInfo().Size()
reported as negative. The running total could also overflow and wrap
round to a small value, yielding plausible but wrong sizes.

As 7-Zip does, return an error if the total overflows or exceeds the
folder size. Move the per-folder size reading into
readSubStreamSizes, which keeps readSubStreamsInfo within the nesting
limit.

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

19 of 23 new or added lines in 1 file covered. (82.61%)

2033 of 2618 relevant lines covered (77.65%)

0.88 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
68.65
0.27% types.go
Jobs
ID Job ID Ran Files Coverage
1 37503357966.1 06 Oct 2026 05:26PM UTC 25
77.65
GitHub Action Run
Source Files on build 37503357966
  • Tree
  • List 25
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d5ef5721 on github
  • Prev Build on main (#37502306630)
  • Next Build on main (#37503940863)
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