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

shogo82148 / base45
80%
main: 80%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/github/codeql-action-4.39.4
DEFAULT BRANCH: main
Repo Added 05 Nov 2022 09:15PM UTC
Token qc5ZBTfsIN96xATm7rrrSFzK4aPH0VKZx regen
Build 166 Last
Files 2
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

LAST BUILD ON BRANCH fix-encoder-empty-write
branch: fix-encoder-empty-write
CHANGE BRANCH
x
Reset
Sync Branches
  • fix-encoder-empty-write
  • add-base45-command
  • add-fuzz-encoding
  • add-fuzz-workflow
  • dependabot/github_actions/actions-go-fuzz-018a3b9953
  • dependabot/github_actions/actions-go-fuzz-384c5d9b46
  • dependabot/github_actions/actions/checkout-4
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/checkout-7
  • dependabot/github_actions/actions/checkout-7.0.1
  • dependabot/github_actions/actions/setup-go-4
  • dependabot/github_actions/actions/setup-go-5
  • dependabot/github_actions/actions/setup-go-6
  • dependabot/github_actions/actions/setup-go-7
  • dependabot/github_actions/actions/setup-go-7.1.0
  • dependabot/github_actions/codeql-actions-073aea62d7
  • dependabot/github_actions/codeql-actions-60a275eb76
  • dependabot/github_actions/codeql-actions-8417568871
  • dependabot/github_actions/codeql-actions-9b5af80777
  • dependabot/github_actions/codeql-actions-ba9c1141e0
  • dependabot/github_actions/codeql-actions-cf2e53152d
  • dependabot/github_actions/codeql-actions-da882c3ad8
  • dependabot/github_actions/github/codeql-action-3
  • dependabot/github_actions/github/codeql-action-4
  • dependabot/github_actions/github/codeql-action-4.39.2
  • dependabot/github_actions/github/codeql-action-4.39.3
  • dependabot/github_actions/github/codeql-action-4.39.4
  • dependabot/github_actions/reviewdog/action-golangci-lint-2.10.2
  • dependabot/github_actions/shogo82148/actions-go-fuzz-1
  • dependabot/github_actions/shogo82148/actions-go-fuzz-1.2.7
  • dependabot/github_actions/shogo82148/actions-go-fuzz/list-1.2.4
  • dependabot/github_actions/shogo82148/actions-go-fuzz/list-1.2.5
  • dependabot/github_actions/shogo82148/actions-go-fuzz/run-1.2.4
  • dependabot/github_actions/shogo82148/actions-go-fuzz/run-1.2.5
  • dependabot/github_actions/shogo82148/actions-goveralls-1.11.1
  • dependabot/github_actions/shogo82148/actions-goveralls-1.11.2
  • dependabot/github_actions/shogo82148/actions-goveralls-1.11.3
  • dependabot/github_actions/shogo82148/actions-goveralls-1.11.4
  • dependabot/github_actions/shogo82148/actions-goveralls-1.11.5
  • fix-broken-benchmark-decode
  • gh-actions-lock
  • go1.20-is-released
  • go1.21-is-released
  • go1.22-is-released
  • go1.25-is-released
  • go1.27-is-released
  • grouping-actions-go-fuzz-updates
  • main
  • pin-github-actions
  • refs/tags/v1.0.0
  • refs/tags/v1.1.0
  • refs/tags/v1.1.1
  • refs/tags/v1.1.2

09 Nov 2026 01:33PM UTC coverage: 79.882% (+4.6%) from 75.301%
42626563644

Pull #47

github

shogo82148
Fix panic on empty Write after odd-length Write in encoder

After an odd-length Write, the streaming encoder buffers one byte
(nbuf == 1). A following zero-length Write, which the io.Writer
contract allows, entered the leading-fringe branch and read data[0]
from an empty slice, panicking with index out of range.

Return 0, nil for empty input right after the sticky-error check,
and add a regression test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pull Request #47: Fix panic on empty Write after odd-length Write in encoder

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

135 of 169 relevant lines covered (79.88%)

8.65 hits per line

Relevant lines Covered
Build:
Build:
169 RELEVANT LINES 135 COVERED LINES
8.65 HITS PER LINE
Source Files on fix-encoder-empty-write
  • Tree
  • List 2
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
42626563644 fix-encoder-empty-write Fix panic on empty Write after odd-length Write in encoder After an odd-length Write, the streaming encoder buffers one byte (nbuf == 1). A following zero-length Write, which the io.Writer contract allows, entered the leading-fringe branch and re... Pull #47 09 Nov 2026 01:34PM UTC shogo82148 github
79.88
See All Builds (109)

Badge your Repo: base45

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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