Actions
Bug #7249
closedosd: int xattr comparison is endian-dependent
% 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
The xattr is loaded off disk and interpreted without decoding it. librados also has no interface to set such a value, but that's a separate issue...
int ReplicatedPG::do_xattr_cmp_u64(int op, __u64 v1, bufferlist& xattr) { __u64 v2; if (xattr.length()) v2 = atoll(xattr.c_str());
Updated by Sage Weil about 9 years ago
- Status changed from New to Resolved
this was fixed recently, 3373249974e7e280df48bc16045748b77fef7942
Actions