Actions
Bug #13525
closedmon: should not set isvalid = true when cephx_verify_authorizer return false
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
infernalis,hammer
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
if (authorizer_data.length()) { int ret = cephx_verify_authorizer(g_ceph_context, &keyring, iter, auth_ticket_info, authorizer_reply); if (ret >= 0) { //bad! session_key = auth_ticket_info.session_key; isvalid = true; } else { dout(0) << "ms_verify_authorizer bad authorizer from mon " << con->get_peer_addr() << dendl; } }
should use bool instead of int
master PR: https://github.com/ceph/ceph/pull/6306
Updated by Kefu Chai over 8 years ago
- Status changed from New to Fix Under Review
Updated by Sage Weil over 8 years ago
- Status changed from Fix Under Review to Pending Backport
- Assignee deleted (
Ruifeng Yang) - Backport set to infernalis,hammer,firefly
Updated by Nathan Cutler over 8 years ago
- Copied to Backport #13589: infernalis: mon: should not set isvalid = true when cephx_verify_authorizer return false added
Updated by Nathan Cutler over 8 years ago
- Copied to Backport #13590: mon: should not set isvalid = true when cephx_verify_authorizer return false added
Updated by Nathan Cutler over 8 years ago
- Copied to Backport #13591: mon: should not set isvalid = true when cephx_verify_authorizer return false added
Updated by Loïc Dachary about 8 years ago
- Backport changed from infernalis,hammer,firefly to infernalis,hammer
Updated by Loïc Dachary about 8 years ago
- Copied to deleted (Backport #13591: mon: should not set isvalid = true when cephx_verify_authorizer return false)
Updated by Loïc Dachary about 8 years ago
- Status changed from Pending Backport to Resolved
Updated by Samuel Just about 8 years ago
- Related to Bug #13826: segfault from PrebufferedStreambuf::overflow added
Updated by Kefu Chai about 8 years ago
- Related to deleted (Bug #13826: segfault from PrebufferedStreambuf::overflow)
Updated by Kefu Chai about 8 years ago
- Has duplicate Bug #13826: segfault from PrebufferedStreambuf::overflow added
Updated by Brad Hubbard about 8 years ago
- Has duplicate deleted (Bug #13826: segfault from PrebufferedStreambuf::overflow)
Actions