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

zeromq / libzmq / 28615552309
75%

Build:
DEFAULT BRANCH: master
Ran 02 Jul 2026 07:24PM UTC
Jobs 1
Files 217
Run time 1min
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

02 Jul 2026 07:16PM UTC coverage: 75.443% (-0.02%) from 75.458%
28615552309

push

github

bluca
Fix signed char sign extension in UDP engine in_event()

On platforms where char is signed (Linux x86-64, MSVC, ARM with
-fsigned-char), _in_buffer[0] with a byte value >= 0x80 undergoes
sign extension when assigned to int group_size. For example, byte
0x80 becomes -128. This negative value is then implicitly cast to
size_t in msg.init_size(), producing a value near SIZE_MAX. The
allocation fails and errno_assert terminates the process.

The out_event() send path already correctly uses
static_cast<unsigned char> for the group size byte. Apply the same
cast on the receive path for consistency.

Signed-off-by: Tristan Music <tristmd@gmail.com>

15146 of 20076 relevant lines covered (75.44%)

27068.84 hits per line

Coverage Regressions

Lines Coverage ∆ File
11
79.53
0.0% libzmq/src/udp_engine.cpp
6
73.68
-10.53% libzmq/src/tipc_connecter.cpp
3
84.33
-0.6% libzmq/src/ctx.cpp
Jobs
ID Job ID Ran Files Coverage
1 28615552309.1 02 Jul 2026 07:24PM UTC 217
75.44
GitHub Action Run
Source Files on build 28615552309
  • Tree
  • List 217
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e357cd32 on github
  • Prev Build on master (#28613668920)
  • Next Build on master (#28621631257)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc