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

zhaozg / lua-openssl / 35494843781
94%
master: 93%

Build:
Build:
LAST BUILD BRANCH: v0.x
DEFAULT BRANCH: master
Ran 20 Sep 2026 06:43AM UTC
Jobs 1
Files 45
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

20 Sep 2026 06:40AM UTC coverage: 93.715% (-0.02%) from 93.731%
35494843781

push

travis-ci

zhaozg
x509.name.new: guard against non-table array elements (nil deref crash)

x509.name.new{ "CN=x" } (array of strings) passed the luaL_checktable +
rawlen>0 checks in openssl_xname_new, then openssl_new_xname ran lua_next
on the string element, treating it as a table -> luaH_next dereferenced a
NULL array pointer and crashed the whole process (pcall cannot catch a
segfault).

Check each array element with lua_istable before iterating it, and return
nil+error instead of crashing.

1 of 3 new or added lines in 1 file covered. (33.33%)

10631 of 11344 relevant lines covered (93.71%)

2133.07 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
98.3
-1.13% src/xname.c
Jobs
ID Job ID Ran Files Coverage
1 35494843781.1 20 Sep 2026 06:45AM UTC 45
93.71
Travis Job
Source Files on build 35494843781
  • Tree
  • List 45
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 44837353 on github
  • Prev Build on v0.x (#34932294539)
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