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

starwing / lua-protobuf / 43266354393
99%

Build:
DEFAULT BRANCH: master
Ran 12 Nov 2026 05:09PM UTC
Jobs 6
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

12 Nov 2026 05:06PM UTC coverage: 99.167% (-0.4%) from 99.582%
43266354393

push

github

starwing
fix: limit message nesting depth when encoding

lpbE_field() recursed into lpbE_encode() for message fields without
using the LPB_NESTLIMIT budget, so a cyclic table or a deeply nested
table exhausted the C stack (SIGSEGV, which pcall()/xpcall() cannot
catch).

Guard the recursion with e->levels, mirroring the decoder: the 1000th
nested message field now raises "message too complex", while 999 levels
still encode and round-trip through pb.decode().

Fixes #292

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

9 existing lines in 2 files now uncovered.

1904 of 1920 relevant lines covered (99.17%)

11340.58 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
97.91
-1.12% pb.h
1
99.92
0.0% pb.c
Jobs
ID Job ID Ran Files Coverage
1 run-5.3 - 43266354393.1 12 Nov 2026 05:09PM UTC 2
99.15
GitHub Action Run
2 run-luajit-openresty - 43266354393.2 12 Nov 2026 05:10PM UTC 2
99.15
GitHub Action Run
3 run-5.1 - 43266354393.3 12 Nov 2026 05:09PM UTC 2
99.06
GitHub Action Run
4 run-5.5.0 - 43266354393.4 12 Nov 2026 05:09PM UTC 2
99.15
GitHub Action Run
5 run-5.4.8 - 43266354393.5 12 Nov 2026 05:10PM UTC 2
99.15
GitHub Action Run
6 run-5.2 - 43266354393.6 12 Nov 2026 05:09PM UTC 2
99.15
GitHub Action Run
Source Files on build 43266354393
  • Tree
  • List 2
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 5f8bdfe9 on github
  • Prev Build on master (#41325473982)
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