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

icerpc / icerpc-csharp / 32509746559
86%

Build:
DEFAULT BRANCH: main
Ran 21 Aug 2026 05:48PM 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

21 Aug 2026 05:44PM UTC coverage: 88.083% (-0.002%) from 88.085%
32509746559

push

github

web-flow
Reject invalid opaque server addresses when decoding a proxy (#4846)

Fixes #4796.

Decoding a proxy could produce an opaque server address that cannot be
encoded back:

- The transport code was decoded as a signed short and written verbatim
into the `t` parameter, but no transport code is negative and the
encoder rejects a negative `t`.
- An encapsulation whose body is empty produced an empty `v` parameter,
and the encoder rejects an opaque server address without a body.

An application that decodes such a proxy and re-encodes it — when
forwarding it, for instance — got a `FormatException`, an exception
otherwise reserved for server addresses built from a URI.

Both values are invalid per the wire format, so this PR rejects them
where the invalid data is received: `DecodeServerAddress` now throws
`InvalidDataException` for a negative transport code and for an opaque
server address with an empty body. The encoder is unchanged.

## What's Changed entry

None — only affects proxies from a nonconforming peer.

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

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

4 of 8 new or added lines in 1 file covered. (50.0%)

10 existing lines in 3 files now uncovered.

12381 of 14056 relevant lines covered (88.08%)

3020.33 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
81.99
-1.34% src/IceRpc.Ice/Operations/IceProxyIceDecoderExtensions.cs

Coverage Regressions

Lines Coverage ∆ File
4
91.22
-0.72% src/IceRpc/Server.cs
3
89.38
-0.32% src/IceRpc/Internal/IceProtocolConnection.cs
3
90.35
-0.27% src/IceRpc/Transports/Slic/Internal/SlicConnection.cs
Jobs
ID Job ID Ran Files Coverage
1 32509746559.1 21 Aug 2026 05:48PM UTC 3841
15.61
GitHub Action Run
Source Files on build 32509746559
  • Tree
  • List 257
  • Changed 203
  • Source Changed 1
  • Coverage Changed 203
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #32509746559
  • 40822b45 on github
  • Prev Build on main (#32509711972)
  • Next Build on main (#32509851587)
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