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

zeromq / libzmq / 6143
75%

Build:
DEFAULT BRANCH: master
Ran 13 Aug 2021 02:15PM UTC
Jobs 1
Files 274
Run time 36s
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
6143

push

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%)

32760.91 hits per line

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