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

zeromq / libzmq / 5836 / 9
75%
master: 75%

Build:
DEFAULT BRANCH: master
Ran 13 Aug 2020 05:14PM UTC
Files 309
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

07 Aug 2020 08:13AM UTC coverage: 82.442% (-0.03%) from 82.471%
GH_TOKEN=[secure] OBS_STABLE_TOKEN=[secure] OBS_DRAFT_TOKEN=[secure] SONARQUBE_TOKEN=[secure] BUILD_TYPE=coverage CURVE=tweetnacl DRAFT=enabled

cron

travis-ci

web-flow
Problem : if socket is invalid for any reason, as_socket_base_t() will return NULL and 'as_socket_base_t (items_[i].socket)->is_thread_safe ()' will crash (#4004)

* Problem : if socket is invalid for any reason, as_socket_base_t() will return NULL and 'as_socket_base_t (items_[i].socket)->is_thread_safe ()' will crash

Solution: expand the code to test the returned value from as_socket_base_t() before calling is_thread_safe() and make zmq_poll() return -1 if as_socket_base_t() returned NULL.

NB: this occurred on the destruction of a SUB socket while running a zloop and without previously calling zloop_reader_set_tolerant and zloop_reader_end. When entering zmq_poll, the PUB socket was already destroyed but still registered in the poll items.

NB: making zmq_poll return -1 is OK as it is what happens anyway, and errno is properly set to ENOTSOCK by as_socket_base_t() when it returns NULL.

Co-authored-by: Stéphane Valès <stephane@vales.fr@users.noreply.github.com>

12574 of 15252 relevant lines covered (82.44%)

31272.59 hits per line

Source Files on job 5836.9 (GH_TOKEN=[secure] OBS_STABLE_TOKEN=[secure] OBS_DRAFT_TOKEN=[secure] SONARQUBE_TOKEN=[secure] BUILD_TYPE=coverage CURVE=tweetnacl DRAFT=enabled)
  • Tree
  • List 0
  • Changed 109
  • Source Changed 0
  • Coverage Changed 109
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5279
  • Travis Job 5836.9
  • 3da6fde5 on github
  • Prev Job for GH_TOKEN=[secure] OBS_STABLE_TOKEN=[secure] OBS_DRAFT_TOKEN=[secure] SONARQUBE_TOKEN=[secure] BUILD_TYPE=coverage CURVE=tweetnacl DRAFT=enabled on master (#5835.8)
  • Next Job for GH_TOKEN=[secure] OBS_STABLE_TOKEN=[secure] OBS_DRAFT_TOKEN=[secure] SONARQUBE_TOKEN=[secure] BUILD_TYPE=coverage CURVE=tweetnacl DRAFT=enabled on master (#5838.8)
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