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

polserver / polserver / 38576502995
82%

Build:
DEFAULT BRANCH: master
Ran 14 Oct 2026 02:12PM UTC
Jobs 1
Files 856
Run time 2min
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

14 Oct 2026 01:59PM UTC coverage: 81.994% (+0.05%) from 81.941%
38576502995

push

github

web-flow
Bound the proxy header and Huffman output to their buffers (#987)

A proxy-protocol v2 header from an AllowProxy address was read into
the 2560-byte receive buffer at whatever payload size it announced,
up to 16 + 65535 bytes. It is now refused and the client
disconnected when the payload exceeds the buffer. Type-length-value
records after the address block still fit.

transmit_encrypted Huffman-coded into a 65535-byte buffer and checked
the end only afterwards. At up to 11 bits per byte, any packet over
about 57 KB of high-entropy data (zlib 0xDD gumps, 0xD8 house
designs) wrote past it. The output is now sized from the code lengths
and sent in pieces of at most 0xFFFF bytes. Client::transmit refuses
packets longer than 0xFFFF bytes.

The 0xD8 builder wrote each plane header before its bounds check and
sent designs over 0xFFFF bytes with a truncated length. It now checks
before writing and does not send such a design.

Testing: testnetwork.cpp round-trips huffman_compress through a
decoder, including 65535 bytes of 11-bit codes, and drives a Client
through an oversized proxy header and one with TLV records.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

38 of 47 new or added lines in 3 files covered. (80.85%)

16 existing lines in 6 files now uncovered.

60315 of 73560 relevant lines covered (81.99%)

1049488.25 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
88.54
-0.75% pol-core/pol/multi/customhouses.cpp
3
86.9
-4.83% pol-core/pol/network/clientio.cpp

Coverage Regressions

Lines Coverage ∆ File
6
86.9
-4.83% pol-core/pol/network/clientio.cpp
4
88.69
-0.9% pol-core/pol/module/npcmod.cpp
2
63.41
0.0% pol-core/pol/mobile/ufacing.cpp
2
91.54
-0.38% pol-core/pol/repsys.cpp
1
77.21
-0.27% pol-core/clib/network/wnsckt.cpp
1
96.12
-0.97% pol-core/pol/saveparallel.cpp
Jobs
ID Job ID Ran Files Coverage
1 38576502995.1 14 Oct 2026 02:12PM UTC 856
81.99
GitHub Action Run
Source Files on build 38576502995
  • Tree
  • List 856
  • Changed 13
  • Source Changed 0
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0f7f8290 on github
  • Prev Build on master (#36265725291)
  • Next Build on master (#39308646178)
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