Project

General

Profile

Bug #2500

osd: unprotected ::decodes in ReplicatedPG::do_osd_ops

Added by Josh Durgin almost 12 years ago. Updated about 11 years ago.

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

Revision 53b18e3c (diff)
Added by Sage Weil over 11 years ago

osd: catch decoding errors from client ops

Check for decode errors in client ops and return -EINVAL.

Fixes: #2500
Signed-off-by: Sage Weil <>

History

#1 Updated by Sage Weil about 11 years ago

  • Status changed from 12 to Resolved

cleaned up ages ago

Also available in: Atom PDF