Bug #2858
mon: osd id parsing returns 0 when passed 'osd.1234'
Status:
Resolved
Priority:
High
Assignee:
-
Category:
Monitor
Target version:
-
% Done:
0%
Source:
Development
Tags:
Backport:
argonaut?
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Related issues
History
#1 Updated by Greg Farnum over 11 years ago
Not sure exactly what scenario you're looking at here or what the bug is, but there are lots of places in the monitor that are using atoi (returning 0 on error) which should use strtol and check errno instead...
#2 Updated by Sage Weil over 11 years ago
- Status changed from New to Fix Under Review
#3 Updated by Sage Weil over 11 years ago
- Status changed from Fix Under Review to Resolved