]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: bail out if transaction size overflows
authorKefu Chai <kchai@redhat.com>
Wed, 17 Aug 2016 11:39:12 +0000 (19:39 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 19 Aug 2016 07:06:08 +0000 (15:06 +0800)
commitd71ccde4a3334a5497e4b230775da1e2f06f35bb
treee55e6e0260567e57cfdc0ff6beb846d7b0b6ab4a
parent80d914fc1d30a06e9acf85efc21c00af4d652df9
osd: bail out if transaction size overflows

with a large MOSDMap message, the transaction size could be greater than
UINT_MAX. so fail early with error messages.

Fixes: http://tracker.ceph.com/issues/16982
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/osd/OSD.cc