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

icerpc / icerpc-csharp / 32400261499
86%

Build:
DEFAULT BRANCH: main
Ran 20 Aug 2026 05:58PM UTC
Jobs 1
Files 257
Run time 4min
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 05:54PM UTC coverage: 87.998% (-0.01%) from 88.012%
32400261499

push

github

web-flow
Validate boolean values when decoding custom-mapped bool sequences (#4839)

Decoding a plain `Sequence<bool>` validates each element (`checkElement:
SliceDecoder.CheckBoolValue`), rejecting bytes that are neither 0 nor 1.
But when a `Sequence<bool>` field uses a `cs::type` custom collection,
the generated code took the fixed-size memcpy path without the
validation callback — so a noncanonical byte like `2` landed directly in
the decoded `bool`s. Such a `bool` breaks ordinary boolean reasoning in
.NET (`b` and `!b` can both behave unexpectedly), from peer-controlled
input.

The generator's custom-collection fixed-size branch now emits the same
`CheckBoolValue` validation as the plain path.

Adds tests for the custom-mapped bool sequence (valid and invalid
bytes), mirroring the existing plain `Sequence<bool>` tests.

## What's Changed entry

None — only changes how invalid data received from a peer is handled.

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

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

12354 of 14039 relevant lines covered (88.0%)

3016.73 hits per line

Coverage Regressions

Lines Coverage ∆ File
9
89.62
-0.81% src/IceRpc/Transports/Slic/Internal/SlicConnection.cs
2
82.54
-0.56% src/IceRpc/ClientConnection.cs
2
91.53
-0.21% src/IceRpc/Internal/IceRpcProtocolConnection.cs
Jobs
ID Job ID Ran Files Coverage
1 32400261499.1 20 Aug 2026 05:58PM UTC 3841
15.58
GitHub Action Run
Source Files on build 32400261499
  • Tree
  • List 257
  • Changed 206
  • Source Changed 0
  • Coverage Changed 206
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #32400261499
  • 61af6786 on github
  • Prev Build on main (#32155969232)
  • Next Build on main (#32400820224)
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