Bug #2500
osd: unprotected ::decodes in ReplicatedPG::do_osd_ops
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
OSD
Target version:
-
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
No
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Decoding of data supplied by a client should not be able to crash the OSD. These should each be in a try/catch block.
Associated revisions
osd: catch decoding errors from client ops
Check for decode errors in client ops and return -EINVAL.
Fixes: #2500
Signed-off-by: Sage Weil <sage@inktank.com>