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

bodgit / sevenzip / 38044473173
78%

Build:
DEFAULT BRANCH: main
Ran 10 Oct 2026 10:20AM 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

10 Oct 2026 10:18AM UTC coverage: 77.812% (+0.2%) from 77.655%
38044473173

push

github

web-flow
fix: fail reads that end before the declared entry size (#490)

* fix: fail reads that end before the declared entry size

A wrong password on an AES-encrypted 7z stream can make the decoder
return io.EOF before UncompressedSize bytes were produced, so callers
saw an empty file and a clean EOF. Convert that early EOF into a
ReadError wrapping io.ErrUnexpectedEOF, keeping the Encrypted flag so
password handling can react.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* test: expect the short-read error when reading pr472.7z without a password

pr472.7z is encrypted and TestBraRead opens it without a password. The
entry now ends with a ReadError wrapping io.ErrUnexpectedEOF instead of
an empty success, so check for that error; the timeout still guards
against the endless read loop fixed in #476.

Also use require.ErrorIs in the new wrong-password subtest.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* style: Fix lint errors

---------

Co-authored-by: Roman Kharitonov <hrt@feip.co>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Matt Dainty <matt@bodgit-n-scarper.com>

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

2041 of 2623 relevant lines covered (77.81%)

0.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38044473173.1 10 Oct 2026 10:20AM UTC 25
77.81
GitHub Action Run
Source Files on build 38044473173
  • Tree
  • List 25
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c70203a0 on github
  • Prev Build on main (#38042656508)
  • Next Build on main (#38093116321)
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