RepoJournal
Go

@golang

Go and the standard library - backend infrastructure at scale

Keep up with Go in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: Go Infrastructure Full archive →

The Wire · Showcase

SSH WINDOW CREDIT BUG COULD STALL CHANNELS; COMPILER REFACTORING SPLITS SSA PACKAGE

By RepoJournal · Filed · About Go

Go's SSH implementation leaks window credits on discarded extended data, potentially freezing channels, while the compiler team restructures its core SSA package to improve modularity.

The SSH window credit bug [1] is the critical fix: handleData subtracts packet lengths from the receive window but silently discards extended data with unknown type codes without returning credits, allowing a peer to permanently shrink the channel window down to a complete stall. Applications using golang.org/x/crypto/ssh for channel operations should review affected code paths. On the compiler front, Michael Matloob landed two foundational changes [2] [3] preparing to split ssa.Compile into a separate package (issue golang/go#80409), removing the Func type's dependency on HTMLWriter and adding test helpers that run SSA passes without full compilation. Poly1305 assembly optimization for RISC-V64 [4] delivers 26-48% speedups across key sizes, with the 2M benchmark dropping from 3.6ms to 1.9ms. Cleanup work across the standard library continues: net/rpc removed obsolete sort.Interface methods [5] after switching to slices.SortFunc, and bytes/strings dropped redundant DecodeRune fast paths [6] that became redundant when utf8.DecodeRune itself became inlineable. Runtime stack frame pointer handling around injected calls [7] has been corrected to prevent corruption during asynchronous preemption and sigpanic scenarios.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] ssh: return window credit for discarded extended data golang/crypto
  2. [2] cmd/compile/internal/ssa: remove HTMLWriter from Func golang/go
  3. [3] cmd/compile/internal/ssa: remove test dependence on Compile golang/go
  4. [4] crypto/internal/poly1305: provide optimised assembly for riscv64 golang/crypto
  5. [5] net/rpc: remove unused sort.Interface methods golang/go
  6. [6] bytes, strings: remove redundant DecodeRune fast paths golang/go
  7. [7] runtime: fix frame pointer adjustment around injected calls golang/go
  8. [8] cmd/present: fix obsolete flag in security warning golang/tools

Quick answers

What shipped in Go on August 4, 2026?
Go's SSH implementation leaks window credits on discarded extended data, potentially freezing channels, while the compiler team restructures its core SSA package to improve modularity. In total, 30 commits landed.
Who contributed to Go on August 4, 2026?
9 developers shipped this update, including Nicola Murino, Julian Zhu, Nick Ripley, Michael Matloob, cuishuang, dorbmon, Jonathan Amsterdam, and Ethan Lee, and 1 more.
What were the notable Go updates?
ssh: return window credit for discarded extended data, cmd/compile/internal/ssa: remove HTMLWriter from Func, and cmd/compile/internal/ssa: remove test dependence on Compile.

More from @golang

Daily updates, in your inbox

Follow Go

Keep up with Go in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?