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

icerpc / icerpc-csharp / 32426888081
86%

Build:
DEFAULT BRANCH: main
Ran 20 Aug 2026 11:05PM UTC
Jobs 1
Files 257
Run time 3min
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

20 Aug 2026 11:01PM UTC coverage: 88.047% (+0.07%) from 87.975%
32426888081

push

github

web-flow
Enforce the control frame body size limit on all non-data Slic frames (#4842)

The Slic control frame body size limit (`MaxControlFrameBodySize`,
16,383 bytes) was applied with the predicate `header.FrameType <
FrameType.Stream`, which covers `Initialize` through `Pong` only. Three
frame types sort after `Stream` in the enum: `StreamReadsClosed`,
`StreamWindowUpdate` and `StreamWritesClosed`. The first and last are
harmless — their handler rejects any non-empty body — but
`StreamWindowUpdate` is read through `ReadFrameBodyAsync`, which only
rejects a size of 0 and then reads the declared number of bytes into a
pipe with no pause writer threshold. A peer could therefore declare a
body of up to `int.MaxValue` for a frame whose real body is a couple of
bytes, and make the receiver buffer that many bytes before decoding.

The limit now applies to every frame type except `Stream` and
`StreamLast`, whose size is bounded by the stream's flow control window.
This is the exemption set #4516 intended when it introduced the limit.

Extends the existing oversized-body test with a `StreamWindowUpdate`
case.

## What's Changed entry

None — internal hardening; no legitimate or accidental control frame is
oversized.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

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

18 existing lines in 5 files now uncovered.

12360 of 14038 relevant lines covered (88.05%)

3018.42 hits per line

Coverage Regressions

Lines Coverage ∆ File
9
89.81
0.1% src/IceRpc/Transports/Slic/Internal/SlicConnection.cs
3
71.39
-0.8% src/IceRpc/ConnectionCache.cs
3
89.38
-0.32% src/IceRpc/Internal/IceProtocolConnection.cs
2
76.92
-0.81% src/IceRpc/Transports/Tcp/Internal/TcpConnection.cs
1
92.29
1.08% src/IceRpc/Server.cs
Jobs
ID Job ID Ran Files Coverage
1 32426888081.1 20 Aug 2026 11:05PM UTC 3841
15.59
GitHub Action Run
Source Files on build 32426888081
  • Tree
  • List 257
  • Changed 206
  • Source Changed 1
  • Coverage Changed 206
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #32426888081
  • fe113ec5 on github
  • Prev Build on main (#32426842747)
  • Next Build on main (#32426908561)
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