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

starwing / znet / 41220495830
95%

Build:
DEFAULT BRANCH: master
Ran 31 Oct 2026 04:37PM UTC
Jobs 2
Files 2
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

31 Oct 2026 04:36PM UTC coverage: 95.053%. Remained the same
41220495830

push

github

starwing
lua: initialize the udp receive buffer

lzn_Udp.recv is a zn_Buffer, but Ludp_new() never called zn_initbuffer, so
the buff/size/bc fields held whatever the Lua userdata allocation contained.
zn_prepbuffsize() in receivefrom() then realloc'd that garbage: on Linux the
new CI segfaulted in about 10 of 12 runs (and occasionally reported the
datagram as an error, data=nil, instead); valgrind flagged the uninitialised
reads.  macOS survived the same code by luck.

Ludp_delete() now resets the buffer, so an allocation goes back to the state's
buffer cache instead of leaking.

This is the module's first Linux exercise: the binding did not even build
there before the -D_XOPEN_SOURCE=600 fix, so test.lua had only ever run on
macOS.

881 of 979 branches covered (89.99%)

Branch coverage included in aggregate %.

1271 of 1285 relevant lines covered (98.91%)

10710.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 linux - 41220495830.1 31 Oct 2026 04:37PM UTC 2
90.71
GitHub Action Run
2 macos - 41220495830.2 31 Oct 2026 04:37PM UTC 2
91.72
GitHub Action Run
Source Files on build 41220495830
  • Tree
  • List 2
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #41220495830
  • 4d77412f on github
  • Prev Build on master (#41220180972)
  • Next Build on master (#41220756027)
  • Delete
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