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

tarantool / tarantool / 18463 / 4
83%
master: 88%

Build:
Build:
LAST BUILD BRANCH: gh-12909-convert-box-py-args-test-to-luatest
DEFAULT BRANCH: master
Ran 26 Aug 2019 05:38PM UTC
Files 306
Run time 48s
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

26 Aug 2019 02:55PM UTC coverage: 82.541% (+0.1%) from 82.422%
TARGET=coverage

push

travis-ci

kyukhin
lua: pwd: fix passwd and group traversal

CentOS 6 and FreeBSD 12 implementations of getpwuid() rewind
setpwent()-{getpwent()}-endpwent() loop to a start that leads to a hang
during pwd.getpwall() invoke. The same is true for a getgrgid() call
during setgrent()-{getgrent()}-endgrent() loop.

The commit modifies pwd module to avoid getpwuid() calls during passwd
database traversal and to avoid getgrgid() calls when traversing groups.

The commit also fixes the important regression on CentOS 6 after
f5d8331e8 ('lua: workaround
pwd.getpwall() issue on Fedora 29'): tarantool hungs during startup due
to added getpwall() call. This made tarantool unusable on CentOS 6 at
all.

Aside of that the commit fixes another pwd.getgrall() problem: the
function gaves password entries instead of group entries.

Fixes #4428.
Fixes #4447.
Part of #4271.

(cherry picked from commit 7753d350f)

41647 of 50456 relevant lines covered (82.54%)

839080.51 hits per line

Source Files on job 18463.4 (TARGET=coverage)
  • Tree
  • List 0
  • Changed 257
  • Source Changed 0
  • Coverage Changed 257
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14921
  • Travis Job 18463.4
  • 6707d7c9 on github
  • Prev Job for TARGET=coverage on 1.10 (#18413.4)
  • Next Job for TARGET=coverage on 1.10 (#18501.4)
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