Project

General

Profile

Actions

Bug #2858

closed

mon: osd id parsing returns 0 when passed 'osd.1234'

Added by Sage Weil almost 12 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
Monitor
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
argonaut?
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Related issues 1 (0 open1 closed)

Related to Ceph - Bug #3014: ceph mds set_data_pool pool doesn't failResolved08/21/2012

Actions
Actions #1

Updated by Greg Farnum almost 12 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...

Actions #2

Updated by Sage Weil over 11 years ago

  • Status changed from New to Fix Under Review
Actions #3

Updated by Sage Weil over 11 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF