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

zeromq / libzmq / 6145
75%

Build:
DEFAULT BRANCH: master
Ran 26 Aug 2021 05:40PM UTC
Jobs 1
Files 274
Run time 80min
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

pending completion
6145

cron

travis-ci-com

web-flow
Problem: calling randombytes_close with libsodium can crash Contexts in other threads (#4242)

* add opt-out for randombytes_close

Problem: randombytes_close is either a no-op or unsafe when a Context is running.

Unfortunately, there does not appear to be a single always correct choice,
so let builders pick between two not-great options.

Opting out can leak an FD on /dev/urandom which may need to be closed explicitly.
However, with the default behavior,
using multiple contexts with CURVE can crash with no application-level workaround available.

randombytes_close is not threadsafe and calling it while still in use by a Context can cause a crash.

For implementations using /dev/[u]random, this can leave up to one leftover FD per process.

The libsodium docs suggest that this function rarely needs to be called explicitly.

11924 of 15899 relevant lines covered (75.0%)

32880.13 hits per line

Jobs
ID Job ID Ran Files Coverage
9 6145.9 (GH_TOKEN=[secure] OBS_STABLE_TOKEN=[secure] OBS_DRAFT_TOKEN=[secure] SONARQUBE_TOKEN=[secure] BUILD_TYPE=coverage CURVE=tweetnacl GSSAPI=enabled PGM=enabled NORM=enabled TIPC=enabled IPv6=ON TLS=enabled DRAFT=enabled) 26 Aug 2021 05:40PM UTC 0
75.0
Travis Job 6145.9
Source Files on build 6145
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #6145
  • bcb659e0 on github
  • Prev Build on master (#6144)
  • Next Build on master (#1263331951)
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