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

zeromq / libzmq / 28712569049
75%

Build:
DEFAULT BRANCH: master
Ran 04 Jul 2026 04:35PM UTC
Jobs 1
Files 217
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

04 Jul 2026 04:32PM UTC coverage: 75.404% (+0.01%) from 75.394%
28712569049

push

github

bluca
Fix GSSAPI ZAP auth: honour negative ZAP responses

When a ZAP handler returned 300/400/500, gssapi_server_t ignored the
denial and transitioned to send_ready anyway, allowing the connection
to proceed unauthenticated.

Root cause: unlike PLAIN/CURVE (which use zap_client_common_handshake_t
and override handle_zap_status_code to update the state machine),
gssapi_server_t inherits directly from zap_client_t whose
handle_zap_status_code only fires a monitor event without touching
the GSSAPI state machine.

Fix both paths where ZAP is consulted:

1. Synchronous reply (process_handshake_command): check status_code
   after receive_and_process_zap_reply() succeeds; go to send_ready
   only on "2xx", otherwise go to the new `closing` state.

2. Asynchronous reply (zap_msg_available): same status_code check
   instead of always setting send_ready.

Add a `closing` state to the state machine and make status() return
mechanism_t::error for it so the session tears down the connection.

15151 of 20093 relevant lines covered (75.4%)

30955.76 hits per line

Coverage Regressions

Lines Coverage ∆ File
27
0.0
0.0% libzmq/src/gssapi_server.cpp
Jobs
ID Job ID Ran Files Coverage
1 28712569049.1 04 Jul 2026 04:35PM UTC 217
75.4
GitHub Action Run
Source Files on build 28712569049
  • Tree
  • List 217
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ba63f037 on github
  • Prev Build on master (#28701381353)
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