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

zeromq / libzmq / 6144
75%

Build:
DEFAULT BRANCH: master
Ran 19 Aug 2021 05:39PM UTC
Jobs 1
Files 274
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

pending completion
6144

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.

11928 of 15899 relevant lines covered (75.02%)

32675.84 hits per line

Jobs
ID Job ID Ran Files Coverage
9 6144.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) 19 Aug 2021 05:39PM UTC 0
75.02
Travis Job 6144.9
Source Files on build 6144
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #6144
  • bcb659e0 on github
  • Prev Build on master (#6143)
  • Next Build on master (#6145)
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