Actions
Bug #8897
closedOSD: get_max_object_name_length() int versus uint
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
We have a build warning now for signed/unsigned comparison warnings in the OSD now. It's a comparison between osd_max_object_name_len (unsigned) and the ObjectStore::get_max_object_name_len() (signed). Unfortunately, the KeyValueStore backend actually uses that negative range to return error codes (on some syscall?), so the MIN isn't really even safe. :/
Not sure how we care to resolve this.
Updated by Sage Weil over 9 years ago
- Status changed from New to Fix Under Review
Updated by Greg Farnum over 9 years ago
- Status changed from Fix Under Review to Resolved
Merged as of 29401c7e779ad071e0dde7c2a9600fa470370d9a
Actions